summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-08 10:00:34 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-08 10:00:34 +0200
commit4aec1091870aaeec9d64b4bd9d7d143ef4a2bbcc (patch)
treeceb5904915e9378d9a9acb1a6fd5788ebcbcc846 /include
parentd6d7bbc9c32d5c060e48a3cfae006871f756cfaf (diff)
downloadcrawler-4aec1091870aaeec9d64b4bd9d7d143ef4a2bbcc.tar.gz
crawler-4aec1091870aaeec9d64b4bd9d7d143ef4a2bbcc.tar.bz2
fixed memory leaks in module loader and tolua test
Diffstat (limited to 'include')
-rwxr-xr-xinclude/module/ModuleLoader.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/module/ModuleLoader.hpp b/include/module/ModuleLoader.hpp
index 9340166..b1fbbb6 100755
--- a/include/module/ModuleLoader.hpp
+++ b/include/module/ModuleLoader.hpp
@@ -64,6 +64,7 @@ static void deferredClose( void )
(void)FreeLibrary( deferredModules[i] );
#endif
}
+ free( deferredModules );
}
template< typename Interface, typename CtorParams = NullType >