ecore_wl2: Reset buffer_manager to NULL on failure

Calling this multiple times even after it fails the first time is a legit
thing now.  We'll be doing that when we want to test dmabuf at connection
start.
This commit is contained in:
Derek Foreman 2017-11-15 11:27:26 -06:00
parent 517f929aa5
commit 23f5b41176
1 changed files with 1 additions and 0 deletions

View File

@ -433,6 +433,7 @@ err_bm:
close(fd);
err_drm:
free(buffer_manager);
buffer_manager = NULL;
err_alloc:
return EINA_FALSE;
}