[vlc-devel] commit: Revert "macosx: VLCAdditions do not leak memory." (Jean-Paul Saman )
git version control
git at videolan.org
Sun Jun 14 22:42:18 CEST 2009
vlc | branch: 1.0-bugfix | Jean-Paul Saman <jpsaman at videolan.org> | Sun Jun 14 22:16:57 2009 +0200| [e612dfb733ba5ae2b1cd8c3c3107c78f1c5c2bb2] | committer: Jean-Paul Saman
Revert "macosx: VLCAdditions do not leak memory."
This reverts commit ccc1a9c255de25dbe616b325c490fa0b64a3b5ae.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e612dfb733ba5ae2b1cd8c3c3107c78f1c5c2bb2
---
modules/gui/macosx/misc.m | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m
index ecf4f6c..51927d7 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -102,11 +102,6 @@ static NSMapTable *VLCAdditions_userInfo = nil;
- (void)dealloc
{
NSMapRemove(VLCAdditions_userInfo, self);
- NSResetMapTable(VLCAdditions_userInfo);
- /* NSCreateMapTable mallocs memory from the default zone ('malloc')
- * thus releasing it with free() is save. */
- free(VLCAdditions_userInfo);
- VLCAdditions_userInfo = nil;
[super dealloc];
}
More information about the vlc-devel
mailing list