From: Vivek Ellur Date: Thu, 22 Oct 2015 19:15:30 +0000 (-0700) Subject: evil: fix memory leak issue in evil module X-Git-Tag: v1.16.0-beta3~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00e96a730b6096b04c464688eaeb5691f1bc1302;p=platform%2Fupstream%2Fefl.git evil: fix memory leak issue in evil module Summary: @Fix Signed-off-by: Vivek Ellur Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3217 Signed-off-by: Cedric BAIL --- diff --git a/src/lib/evil/evil_dirent.c b/src/lib/evil/evil_dirent.c index b869c13..6dcfca2 100644 --- a/src/lib/evil/evil_dirent.c +++ b/src/lib/evil/evil_dirent.c @@ -89,7 +89,7 @@ DIR *opendir(char const *name) { errno = ENOMEM; free(tmp); - + free(dir); return NULL; } dir->handle = FindFirstFile(wname, &dir->data);