Commit e612dfb7 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Revert "macosx: VLCAdditions do not leak memory."

This reverts commit ccc1a9c2.
parent 5084b82c
......@@ -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];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment