Commit 1a4d78f0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

picture: fix double free

parent 3edd48f2
......@@ -403,7 +403,6 @@ static void picture_DestroyClone(picture_t *clone)
{
picture_t *picture = ((picture_priv_t *)clone)->gc.opaque;
free(clone);
picture_Release(picture);
}
......
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