forked from enlightenment/efl
wayland_shm: Shut up coverity
Quite cosmetic, but I suppose this is better than flagging as false positive. CID1368209
This commit is contained in:
parent
80f5860c68
commit
780293ac93
|
@ -803,7 +803,7 @@ _evas_dmabuf_surface_create(Surface *s, int w, int h, int num_buff)
|
|||
return EINA_TRUE;
|
||||
|
||||
err:
|
||||
if (surf) free(surf->buffer);
|
||||
free(surf->buffer);
|
||||
free(surf);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue