(input_overlay.c) Prevent crashes

This commit is contained in:
twinaphex 2016-11-27 15:34:19 +01:00
parent 4e8bb52038
commit 44131ff639

View File

@ -492,6 +492,7 @@ void input_overlay_free(input_overlay_t *ol)
{
if (!ol)
return;
overlay_ptr = NULL;
input_overlay_free_overlays(ol);