]> git.sesse.net Git - vlc/blobdiff - modules/video_output/msw/directx.c
Use pl_Release with the right argument.
[vlc] / modules / video_output / msw / directx.c
index 1418a1b73428e68ae62d206f0322324313ea9142..a6ee80b852008bf3970f465801003e1baa3a461e 100644 (file)
@@ -2131,7 +2131,7 @@ static int WallpaperCallback( vlc_object_t *p_this, char const *psz_cmd,
              * restarted */
             var_Create( p_playlist, "directx-wallpaper", VLC_VAR_BOOL );
             var_Set( p_playlist, "directx-wallpaper", newval );
-            pl_Release( p_playlist );
+            pl_Release( p_vout );
         }
 
         p_vout->p_sys->i_changes |= DX_WALLPAPER_CHANGE;