hermet pushed a commit to branch master.

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

commit dc945ccb5582ee458ccf18a420d511024f6bfc04
Author: ChunEon Park <[email protected]>
Date:   Tue May 27 22:17:01 2014 +0900

    edje/epp - clean up memory allocated.
---
 src/bin/edje/epp/cpplib.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c
index 031a230..e3d6fa8 100644
--- a/src/bin/edje/epp/cpplib.c
+++ b/src/bin/edje/epp/cpplib.c
@@ -3892,6 +3892,7 @@ do_error(cpp_reader * pfile, struct directive *keyword 
EINA_UNUSED,
    copy[length] = 0;
    SKIP_WHITE_SPACE(copy);
    cpp_error(pfile, "#error %s", copy);
+   free(copy);
    return 0;
 }
 
@@ -3912,6 +3913,7 @@ do_warning(cpp_reader * pfile, struct directive *keyword 
EINA_UNUSED,
    copy[length] = 0;
    SKIP_WHITE_SPACE(copy);
    cpp_warning(pfile, "#warning %s", copy);
+   free(copy);
    return 0;
 }
 

-- 


Reply via email to