clear pixmap->data when buffer gets destroyed
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
01ab37fe82
commit
91270757f3
|
@ -50,6 +50,7 @@ _e_pixmap_cb_buffer_destroy(struct wl_listener *listener, void *data EINA_UNUSED
|
||||||
E_Pixmap *cp;
|
E_Pixmap *cp;
|
||||||
|
|
||||||
cp = container_of(listener, E_Pixmap, buffer_destroy_listener);
|
cp = container_of(listener, E_Pixmap, buffer_destroy_listener);
|
||||||
|
cp->data = NULL;
|
||||||
cp->buffer_destroy_listener.notify = NULL;
|
cp->buffer_destroy_listener.notify = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue