URL:
<http://savannah.gnu.org/bugs/?39099>
Summary: GSBinaryPLGenerator leaks memory
Project: GNUstep
Submitted by: msilvax28
Submitted on: Tue 28 May 2013 03:15:12 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39099>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep