clear pixmap->data when buffer gets destroyed

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-02-25 14:16:44 -05:00
parent 01ab37fe82
commit 91270757f3
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ _e_pixmap_cb_buffer_destroy(struct wl_listener *listener, void *data EINA_UNUSED
E_Pixmap *cp;
cp = container_of(listener, E_Pixmap, buffer_destroy_listener);
cp->data = NULL;
cp->buffer_destroy_listener.notify = NULL;
}
#endif