mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +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
d0608bc69e
commit
d20d3fe7bc
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ my_object_is_class(id object)
|
|||
initForWritingToStream: s
|
||||
withFormatVersion: cStreamFormatVersion]
|
||||
formatVersion: version];
|
||||
[cstream release];
|
||||
in_progress_table = NULL;
|
||||
object_2_xref = NULL;
|
||||
object_2_fref = NULL;
|
||||
|
|
Loading…
Reference in a new issue