summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkabeer khan <kabeer.khan@samsung.com>2014-12-22 12:06:06 +0100
committerCedric BAIL <cedric@osg.samsung.com>2014-12-22 12:06:16 +0100
commit48920920a581a14da7f093748540f608a70e0513 (patch)
tree3df8d5c432d0751327b74482eacdc9411aed9248
parentd25d56758c735cdf5760278f8a97e9c6b8ec7355 (diff)
evas: fix memory leak in evas_swapper.
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> @fix Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1800 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_swapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_swapper.c b/src/modules/evas/engines/wayland_shm/evas_swapper.c
index 83bf677a74..3b4d8f03ae 100644
--- a/src/modules/evas/engines/wayland_shm/evas_swapper.c
+++ b/src/modules/evas/engines/wayland_shm/evas_swapper.c
@@ -331,6 +331,7 @@ _evas_swapper_shm_pool_new(Wl_Swapper *ws)
331 if ((fd = mkstemp(name)) < 0) 331 if ((fd = mkstemp(name)) < 0)
332 { 332 {
333 ERR("Could not create temporary file."); 333 ERR("Could not create temporary file.");
334 free(name);
334 return EINA_FALSE; 335 return EINA_FALSE;
335 } 336 }
336 337