[vlc-devel] commit: macosx intf: another strdup memleak (Derk-Jan Hartman )
git version control
git at videolan.org
Thu May 28 15:42:17 CEST 2009
vlc | branch: 1.0-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Thu May 28 13:43:22 2009 +0200| [a037a08d58e5b97af4ec09071818126fd581b27f] | committer: Derk-Jan Hartman
macosx intf: another strdup memleak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a037a08d58e5b97af4ec09071818126fd581b27f
---
modules/gui/macosx/controls.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/controls.m b/modules/gui/macosx/controls.m
index ea9aff6..a52cff8 100644
--- a/modules/gui/macosx/controls.m
+++ b/modules/gui/macosx/controls.m
@@ -859,7 +859,7 @@
case VLC_VAR_INTEGER:
o_title = text_list.p_list->p_values[i].psz_string ?
- [[VLCMain sharedInstance] localizedString: strdup( text_list.p_list->p_values[i].psz_string )] :
+ [[VLCMain sharedInstance] localizedString: text_list.p_list->p_values[i].psz_string] :
[NSString stringWithFormat: @"%d",
val_list.p_list->p_values[i].i_int];
More information about the vlc-devel
mailing list