forked from enlightenment/efl
wayland_egl: return immediately in eng_window_free() when null is passed
This commit is contained in:
parent
4f4556be35
commit
bdfbd4a4e1
|
@ -192,6 +192,7 @@ eng_window_free(Outbuf *gw)
|
||||||
{
|
{
|
||||||
int ref = 0;
|
int ref = 0;
|
||||||
|
|
||||||
|
if (!gw) return;
|
||||||
win_count--;
|
win_count--;
|
||||||
eng_window_use(gw);
|
eng_window_use(gw);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue