wayland_shm: Shut up coverity

Quite cosmetic, but I suppose this is better than flagging as false
positive.

CID1368209
This commit is contained in:
Derek Foreman 2017-01-04 08:54:03 -06:00
parent 80f5860c68
commit 780293ac93
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}