Fix a few memory leaks, from Louis Delacroix.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3711 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2011-12-28 17:51:58 +00:00
parent 41680a3e99
commit dc1dfcba27
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
Changes towards version 0.8:
- Fix memory leak in mkdirhier(), from Loius Delacroix
- Fix several memory leaks, from Loius Delacroix
- Some cleanups / warnings fixes, from Louis Delacroix
- Added a free callback function for the values of the key-value pairs
in hash tables - SvdB
+2
View File
@@ -488,6 +488,8 @@ main (int argc, char *argv[])
mem_uninit ();
}
HFree (options.addons);
return EXIT_SUCCESS;
}
+1
View File
@@ -211,6 +211,7 @@ Flash_terminate (FlashContext *context)
Flash_drawFrame (context, context->original);
Flash_clearCache (context);
HFree (context->cache);
DestroyDrawable (ReleaseDrawable (context->original));
}