fix memory leak (but only on malloc path)
r2428 | dcl | 2008-04-14 09:47:50 +1000 (Mon, 14 Apr 2008) | 2 lines
This commit is contained in:
@@ -737,6 +737,8 @@ static void putSlab(SConnection *pCon, SicsInterp *pSics, pNXScript self,
|
|||||||
if(status == NX_OK){
|
if(status == NX_OK){
|
||||||
written = 1;
|
written = 1;
|
||||||
}
|
}
|
||||||
|
if (argc > 6)
|
||||||
|
free(histData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user