fixed memory leaks, added cleanup code, added valgrind scripts to test binaries
This commit is contained in:
@@ -45,6 +45,9 @@ void AQH_HttpContent_free(AQH_HTTP_CONTENT *cp)
|
||||
if (cp) {
|
||||
GWEN_TREE2_FINI(AQH_HTTP_CONTENT, cp, AQH_HttpContent);
|
||||
GWEN_INHERIT_FINI(AQH_HTTP_CONTENT, cp);
|
||||
|
||||
free(cp->name);
|
||||
|
||||
GWEN_FREE_OBJECT(cp);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user