Commit 16f75b88 authored by Ramiro Polla's avatar Ramiro Polla Committed by Rémi Denis-Courmont

dummy vout: check for sys->pool before deleting it.

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent e07d5bbb
......@@ -91,7 +91,8 @@ void CloseVideo(vlc_object_t *object)
vout_display_t *vd = (vout_display_t *)object;
vout_display_sys_t *sys = vd->sys;
picture_pool_Delete(sys->pool);
if (sys->pool)
picture_pool_Delete(sys->pool);
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