commit 69851e4

Michael Forney  ·  2013-12-07 06:41:47 +0000 UTC
parent ebec79a
renderer: Destroy wld drawable after mapped pixman surface
1 files changed,  +1, -1
+1, -1
 1@@ -47,11 +47,11 @@ static void handle_buffer_destroy(struct wl_listener * listener, void * data)
 2     struct buffer_state * state
 3         = CONTAINER_OF(listener, typeof(*state), destroy_listener);
 4 
 5-    wld_destroy_drawable(state->drawable);
 6     if (state->dst)
 7         pixman_image_unref(state->dst);
 8     if (state->src)
 9         pixman_image_unref(state->src);
10+    wld_destroy_drawable(state->drawable);
11     free(state);
12 }
13