changeset 8577:e0b934c87745

10l memory leak
author alex
date Fri, 27 Dec 2002 16:42:11 +0000
parents ed132c268686
children a9d454af3497
files libvo/vo_xvidix.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xvidix.c	Fri Dec 27 16:35:29 2002 +0000
+++ b/libvo/vo_xvidix.c	Fri Dec 27 16:42:11 2002 +0000
@@ -397,6 +397,12 @@
 {
     if ( !vo_config_count ) return;
     vidix_term();
+    
+    if (vidix_name)
+    {
+	free(vidix_name);
+	vidix_name = NULL;
+    }
 
     saver_on(mDisplay); /* screen saver back on */
     vo_x11_uninit();