e_pixmap: fix wrong null checking 90/236490/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 17 Jun 2020 10:54:27 +0000 (19:54 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 17 Jun 2020 10:54:27 +0000 (19:54 +0900)
Change-Id: If2ef0be06d06534fa4b722803a601284f19d47bc

src/bin/e_pixmap.c

index eac699d5f37ed8af79cb6812cee338ef67545db6..0b43419acdc9979e67ff61d860b7d57e9a9887a2 100644 (file)
@@ -1068,7 +1068,7 @@ _e_pixmap_buffer_clear(E_Pixmap *cp, Eina_Bool only_free)
 
                   cqueue = wayland_tbm_server_client_queue_get(e_comp_wl->tbm.server,
                                                                cp->client->comp_data->wl_surface);
-                  if (cqueue) return;
+                  if (!cqueue) return;
 
                   if (only_free)
                     wayland_tbm_server_client_queue_free_flush(cqueue);