mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
(-initForWritingToStream:withFormatVersion:cStreamClass:cStreamFormatVersion:):
Release stream after invoking initialisation method of super which retains it. To fix memory leaks. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2025 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0bd07c5ee6
commit
d925b12d82
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ my_object_is_class(id object)
|
||||||
initForWritingToStream: s
|
initForWritingToStream: s
|
||||||
withFormatVersion: cStreamFormatVersion]
|
withFormatVersion: cStreamFormatVersion]
|
||||||
formatVersion: version];
|
formatVersion: version];
|
||||||
|
[cstream release];
|
||||||
in_progress_table = NULL;
|
in_progress_table = NULL;
|
||||||
object_2_xref = NULL;
|
object_2_xref = NULL;
|
||||||
object_2_fref = NULL;
|
object_2_fref = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue