git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e87ed3
)
macOS: Warn for overwriting dealloc in NSAnimation category
author
Marvin Scholz
<epirat07@gmail.com>
Thu, 16 Mar 2017 08:26:29 +0000
(09:26 +0100)
committer
Marvin Scholz
<epirat07@gmail.com>
Thu, 16 Mar 2017 08:26:29 +0000
(09:26 +0100)
modules/gui/macosx/misc.m
patch
|
blob
|
history
diff --git
a/modules/gui/macosx/misc.m
b/modules/gui/macosx/misc.m
index
0db3b96
..
08d42f9
100644
(file)
--- a/
modules/gui/macosx/misc.m
+++ b/
modules/gui/macosx/misc.m
@@
-49,6
+49,7
@@
static NSMapTable *VLCAdditions_userInfo = NULL;
VLCAdditions_userInfo = NSCreateMapTable(NSNonRetainedObjectMapKeyCallBacks, NSObjectMapValueCallBacks, 16);
}
+#warning FIXME: Dealloc is replaced, this seems like a very bad idea.
- (void)dealloc
{
NSMapRemove(VLCAdditions_userInfo, (__bridge const void * __nullable)(self));