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:
Richard Frith-MacDonald 2006-04-04 17:21:18 +00:00
parent 9526fb065f
commit fd6393a3eb
2 changed files with 5 additions and 1 deletions

View file

@ -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>
* Source/NSBundle.m: When loading localisation striong files, check

View file

@ -2954,7 +2954,7 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
- (void) dealloc
{
if (parser == nil && lib != NULL)
if (lib != NULL)
{
free(lib);
}