Commit a1059708 authored by Felix Paul Kühne's avatar Felix Paul Kühne

vout ios: add missing sanity check

parent 2a857bc8
...@@ -370,9 +370,11 @@ void Close (vlc_object_t *this) ...@@ -370,9 +370,11 @@ void Close (vlc_object_t *this)
[sys->glESView release]; [sys->glESView release];
if (sys->picturePool) if (sys->zero_copy) {
picture_pool_Release(sys->picturePool); if (sys->picturePool)
sys->picturePool = NULL; picture_pool_Release(sys->picturePool);
sys->picturePool = NULL;
}
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