discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f6c71b781db265f4341e3f7ae63edf623af672d2

commit f6c71b781db265f4341e3f7ae63edf623af672d2
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Thu Mar 10 18:17:19 2016 -0600

    Free pixel data after taking a wayland screen shot
---
 src/bin/e_comp_wl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 3b8a466..c2c3443 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2170,6 +2170,7 @@ _e_comp_wl_screenshooter_cb_shoot(struct wl_client 
*client EINA_UNUSED, struct w
    wl_shm_buffer_begin_access(shm_buffer);
    memcpy(d, pixels, buffer->h * stride);
    wl_shm_buffer_end_access(shm_buffer);
+   free(pixels);
 
    screenshooter_send_done(resource);
 }

-- 


Reply via email to