Commit d72cab65 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Gradfun: do not crash on exit on Win32

vlc_memalign data should be vlc_free'd

Close #6114 #6280
(cherry picked from commit 35d2292855c399fcbcc5ef6116580db2350060f7)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5d8f52cd
...@@ -161,7 +161,7 @@ static void Close(vlc_object_t *object) ...@@ -161,7 +161,7 @@ static void Close(vlc_object_t *object)
var_DelCallback(filter, CFG_PREFIX "radius", Callback, NULL); var_DelCallback(filter, CFG_PREFIX "radius", Callback, NULL);
var_DelCallback(filter, CFG_PREFIX "strength", Callback, NULL); var_DelCallback(filter, CFG_PREFIX "strength", Callback, NULL);
free(sys->cfg.buf); vlc_free(sys->cfg.buf);
vlc_mutex_destroy(&sys->lock); vlc_mutex_destroy(&sys->lock);
free(sys); free(sys);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment