changeset 17787:6eb3a513abb9

remove useless and memleak-causing strdup
author reimar
date Thu, 09 Mar 2006 18:05:38 +0000
parents f0f54034c7e9
children 2fe769b4b30b
files libvo/vo_x11.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_x11.c	Thu Mar 09 17:39:34 2006 +0000
+++ b/libvo/vo_x11.c	Thu Mar 09 18:05:38 2006 +0000
@@ -281,7 +281,7 @@
     old_vo_dheight = -1;
 
     if (!title)
-        title = strdup("MPlayer X11 (XImage/Shm) render");
+        title = "MPlayer X11 (XImage/Shm) render";
 
     in_format = format;
     srcW = width;