forked from enlightenment/efl
ecore-wl2: Destroy buffer before we exit the buffer_test function
Small patch to destroy our test buffer before we exit the _ecore_wl2_buffer_test function so that we do not leak here. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
36b6935304
commit
0cf806005e
|
@ -612,7 +612,10 @@ _ecore_wl2_buffer_test(Ecore_Wl2_Display *ewd)
|
|||
DRM_FORMAT_ARGB8888, 0);
|
||||
ecore_wl2_display_flush(ewd);
|
||||
|
||||
ecore_wl2_buffer_destroy(buf);
|
||||
|
||||
return;
|
||||
|
||||
fail:
|
||||
_buffer_manager_destroy();
|
||||
ewd->wl.dmabuf = NULL;
|
||||
|
|
Loading…
Reference in New Issue