mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
9526fb065f
commit
fd6393a3eb
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>
|
||||
|
||||
* Source/NSBundle.m: When loading localisation striong files, check
|
||||
|
|
|
@ -2954,7 +2954,7 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
if (parser == nil && lib != NULL)
|
||||
if (lib != NULL)
|
||||
{
|
||||
free(lib);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue