fixed memory leaks, added cleanup code, added valgrind scripts to test binaries
This commit is contained in:
@@ -12,10 +12,14 @@
|
||||
|
||||
#include "./aqhomehttp.h"
|
||||
|
||||
#include <gwenhywfar/mutex.h>
|
||||
|
||||
|
||||
|
||||
typedef struct AQHOME_HTTP AQHOME_HTTP;
|
||||
struct AQHOME_HTTP {
|
||||
AQH_STORAGE *storage; /* do not release */
|
||||
AQH_STORAGE *storage; /* do not release */
|
||||
GWEN_MUTEX *storageMutex;
|
||||
|
||||
AQH_HTTP_CONTENT *contentTree;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user