Fix memory leak discovered by Mathias Froehlich
This commit is contained in:
parent
7f5c3b223a
commit
c12162407c
@ -123,7 +123,9 @@ static void naCode_gcclean(struct naCode* o)
|
||||
naFree(o->byteCode); o->byteCode = 0;
|
||||
naFree(o->constants); o->constants = 0;
|
||||
naFree(o->argSyms); o->argSyms = 0;
|
||||
naFree(o->optArgSyms); o->argSyms = 0;
|
||||
naFree(o->optArgSyms); o->optArgSyms = 0;
|
||||
naFree(o->optArgVals); o->optArgVals = 0;
|
||||
naFree(o->lineIps); o->lineIps = 0;
|
||||
}
|
||||
|
||||
static void naGhost_gcclean(struct naGhost* g)
|
||||
|
Loading…
Reference in New Issue
Block a user