e_comp_wl: added missing e_pixmap_free to wl_surface::destroy request handler if... 86/44386/1
authorGwanglim Lee <gl77.lee@samsung.com>
Tue, 21 Jul 2015 09:46:45 +0000 (18:46 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Tue, 21 Jul 2015 09:46:45 +0000 (18:46 +0900)
Change-Id: I5d6914a29fbdbc5c45a45db08ff7cd990e465ce8

src/bin/e_comp_wl.c

index 6d76ea9..ee8b8e2 100644 (file)
@@ -1824,7 +1824,10 @@ _e_comp_wl_surface_destroy(struct wl_resource *resource)
 
    /* try to get the e_client from this pixmap */
    if (!(ec = e_pixmap_client_get(ep)))
-     return;
+     {
+        e_pixmap_free(ep);
+        return;
+     }
 
    evas_object_hide(ec->frame);
    e_object_del(E_OBJECT(ec));