]> git.sesse.net Git - vlc/commit
macosx preferences: more memleaks
authorDerk-Jan Hartman <hartman@videolan.org>
Fri, 29 May 2009 11:18:01 +0000 (13:18 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 May 2009 22:32:43 +0000 (00:32 +0200)
commit45d3dd4babf91b3471c6da3390ebca2f13c50cf3
tree27c3bdbae84cb010455afa11cbf2ea4d224e2cc8
parent262f762dfc7d0fe9e890fa932e1af681a6b85b3a
macosx preferences: more memleaks

* initmethods returning nil. checks moved outside init.
* leaking module_config_get. Keep better track of those.
* spurious strdup
* leaked hotkeys NSMutableArray when resetting the preferences.
(cherry picked from commit 27d841889c9116d46be643fa482f9ca562d233f3)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/macosx/prefs.m
modules/gui/macosx/prefs_widgets.m
modules/gui/macosx/simple_prefs.m