summaryrefslogtreecommitdiff
path: root/src/lib/evil
diff options
context:
space:
mode:
authorVivek Ellur <vivek.ellur@samsung.com>2015-10-22 12:15:30 -0700
committerCedric BAIL <cedric@osg.samsung.com>2015-10-22 12:15:34 -0700
commit00e96a730b6096b04c464688eaeb5691f1bc1302 (patch)
tree2be867b0de7a75879d030697f9cbeb900b41edab /src/lib/evil
parent508143efba0cef5ea27cc1f45d98b10ab9fd2129 (diff)
evil: fix memory leak issue in evil module
Summary: @Fix Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3217 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evil')
-rw-r--r--src/lib/evil/evil_dirent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evil/evil_dirent.c b/src/lib/evil/evil_dirent.c
index b869c13f86..6dcfca2d97 100644
--- a/src/lib/evil/evil_dirent.c
+++ b/src/lib/evil/evil_dirent.c
@@ -89,7 +89,7 @@ DIR *opendir(char const *name)
89 { 89 {
90 errno = ENOMEM; 90 errno = ENOMEM;
91 free(tmp); 91 free(tmp);
92 92 free(dir);
93 return NULL; 93 return NULL;
94 } 94 }
95 dir->handle = FindFirstFile(wname, &dir->data); 95 dir->handle = FindFirstFile(wname, &dir->data);