]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/wall.c
Fix memleak in wall video filter.
[vlc] / modules / video_filter / wall.c
index 6db6d57538b0ba64b3078759fdb0aa3ff4c690de..39ddd82a10aca98efb5c12473c8fe9daff3001de 100644 (file)
@@ -266,8 +266,8 @@ static int Init( vout_thread_t *p_vout )
         {
             msg_Warn( p_vout, "invalid aspect ratio specification" );
         }
-        free( psz_aspect );
     }
+    free( psz_aspect );
 
     i_xpos = var_CreateGetInteger( p_vout, "video-x" );
     i_ypos = var_CreateGetInteger( p_vout, "video-y" );