bugGNUstep - Bugs: bug #39099, GSBinaryPLGenerator leaks memory


You are not allowed to post comments on this tracker with your current authentication level.

bug #39099: GSBinaryPLGenerator leaks memory

Submitted by:  Michael Silva <msilvax28>
Submitted on:  Tue 28 May 2013 03:15:12 PM UTC  
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  In Test

Thu 27 Jun 2013 06:49:03 AM UTC, comment #1:

Hopefully this is fixed now in trunk ... please try it.

Richard Frith-Macdonald <CaS>
Project Member
Tue 28 May 2013 03:15:12 PM UTC, original submission:

When NSPropertyListSerialization dataFromPropertyList: (id)aPropertyList
format: (NSPropertyListFormat)aFormat
errorDescription: (NSString**)anErrorString] is used the argument aPropertyList is retained one more time than it is released if the format NSPropertyListBinaryFormat_v1_0 is used.

It appears that the NSConcreteTableMap double-retains aPropertyList because GSI_MAP_WRITE_VAL() macro in NSConcreteMapTable will retain the key and GSIMapAddPair retains it again.

Not sure of how to fix it properly, but that seems to be where the issue is occurring.

Seen in v1.24.4 GNUstep base release.

Michael Silva <msilvax28>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by msilvax28 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Thu 27 Jun 2013 06:49:02 AM UTC CaS StatusNone => Fixed
        Open/ClosedOpen => In Test

    Back to the top

    Powered by Savane 3.3