Commit 45d4420f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix crash

parent 663a2015
...@@ -364,7 +364,7 @@ static int PictureInit (vout_thread_t *vout, picture_t *pic) ...@@ -364,7 +364,7 @@ static int PictureInit (vout_thread_t *vout, picture_t *pic)
error: error:
if (shm != SHM_ERR) if (shm != SHM_ERR)
shmdt (shm); shmdt (shm);
free (p_sys); free (priv);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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