diff options
author | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-06-27 13:30:03 -0300 |
---|---|---|
committer | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-06-27 13:30:15 -0300 |
commit | 1600e08668fd5fa21f448a3d824c055f2cee4352 (patch) | |
tree | c7b8020f28b80167e3b2e810297ce5ec214ec573 | |
parent | 96b061787d54265ebd320c3bd6d788f8fc92d400 (diff) |
orccompiler: free error message
-rw-r--r-- | orc/orccompiler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/orc/orccompiler.c b/orc/orccompiler.c index a0fa305..0086f77 100644 --- a/orc/orccompiler.c +++ b/orc/orccompiler.c @@ -396,6 +396,7 @@ error: } result = compiler->result; orc_program_set_error (program, compiler->error_msg); + free (compiler->error_msg); if (result == 0) { result = ORC_COMPILE_RESULT_UNKNOWN_COMPILE; } |