q66 pushed a commit to branch master.

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

commit fd868bff347e7dd08cd619ac7cdad9e2ab87b12c
Author: Daniel Kolesa <[email protected]>
Date:   Tue Dec 5 16:47:19 2017 +0100

    eolian cxx: free state on exit
---
 src/bin/eolian_cxx/eolian_cxx.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/eolian_cxx/eolian_cxx.cc b/src/bin/eolian_cxx/eolian_cxx.cc
index fac96da5e2..a407220bc6 100644
--- a/src/bin/eolian_cxx/eolian_cxx.cc
+++ b/src/bin/eolian_cxx/eolian_cxx.cc
@@ -40,6 +40,10 @@ struct options_type
    bool main_header;
 
    options_type() : main_header(false) {}
+   ~options_type()
+     {
+        eolian_free(state);
+     }
 };
 
 static efl::eina::log_domain domain("eolian_cxx");

-- 


Reply via email to