wayland_egl: return immediately in eng_window_free() when null is passed

This commit is contained in:
Mike Blumenkrantz 2016-05-05 10:42:26 -04:00
parent 4f4556be35
commit bdfbd4a4e1
1 changed files with 1 additions and 0 deletions

View File

@ -192,6 +192,7 @@ eng_window_free(Outbuf *gw)
{
int ref = 0;
if (!gw) return;
win_count--;
eng_window_use(gw);