Fix memory leak discovered by Mathias Froehlich
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user