swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 69851e4b684ecfef30330d78adb6b329e7aadf4d
parent ebec79ac6b7a8f9818941e7007613b3ca9c1825e
Author: Michael Forney <mforney@mforney.org>
Date:   Fri,  6 Dec 2013 22:41:47 -0800

renderer: Destroy wld drawable after mapped pixman surface

Diffstat:
Mlibswc/renderer.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswc/renderer.c b/libswc/renderer.c @@ -47,11 +47,11 @@ static void handle_buffer_destroy(struct wl_listener * listener, void * data) struct buffer_state * state = CONTAINER_OF(listener, typeof(*state), destroy_listener); - wld_destroy_drawable(state->drawable); if (state->dst) pixman_image_unref(state->dst); if (state->src) pixman_image_unref(state->src); + wld_destroy_drawable(state->drawable); free(state); }