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:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
Changes towards version 0.8:
|
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
|
- Some cleanups / warnings fixes, from Louis Delacroix
|
||||||
- Added a free callback function for the values of the key-value pairs
|
- Added a free callback function for the values of the key-value pairs
|
||||||
in hash tables - SvdB
|
in hash tables - SvdB
|
||||||
|
|||||||
@@ -487,6 +487,8 @@ main (int argc, char *argv[])
|
|||||||
UnInitThreadSystem ();
|
UnInitThreadSystem ();
|
||||||
mem_uninit ();
|
mem_uninit ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HFree (options.addons);
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -211,6 +211,7 @@ Flash_terminate (FlashContext *context)
|
|||||||
Flash_drawFrame (context, context->original);
|
Flash_drawFrame (context, context->original);
|
||||||
|
|
||||||
Flash_clearCache (context);
|
Flash_clearCache (context);
|
||||||
|
HFree (context->cache);
|
||||||
DestroyDrawable (ReleaseDrawable (context->original));
|
DestroyDrawable (ReleaseDrawable (context->original));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user