mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 10:11:03 +00:00
Fix a memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22748 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d5e8cbcaf3
commit
a9c7f6bdd1
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-04-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/Additions/GSXML.m: ([GSSAXHandler-dealloc]) fix memory leak.
|
||||||
|
|
||||||
2006-04-02 Richard Frith-Macdonald <rfm@gnu.org>
|
2006-04-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSBundle.m: When loading localisation striong files, check
|
* Source/NSBundle.m: When loading localisation striong files, check
|
||||||
|
|
|
@ -2954,7 +2954,7 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
if (parser == nil && lib != NULL)
|
if (lib != NULL)
|
||||||
{
|
{
|
||||||
free(lib);
|
free(lib);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue