[vlc-devel] commit: macosx intf: another strdup memleak (Derk-Jan Hartman )
git version control
git at videolan.org
Sat May 30 00:32:48 CEST 2009
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Thu May 28 13:43:22 2009 +0200| [93b60e9b50aaf4fc9e240e5f5b9c1f73c6ec5f7f] | committer: Jean-Baptiste Kempf
macosx intf: another strdup memleak
(cherry picked from commit a037a08d58e5b97af4ec09071818126fd581b27f)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=93b60e9b50aaf4fc9e240e5f5b9c1f73c6ec5f7f
---
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 3d057ef..8597095 100644
--- a/modules/gui/macosx/controls.m
+++ b/modules/gui/macosx/controls.m
@@ -853,7 +853,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