summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <ts.santos@sisa.samsung.com>2014-06-27 13:30:03 -0300
committerThiago Santos <ts.santos@sisa.samsung.com>2014-06-27 13:30:15 -0300
commit1600e08668fd5fa21f448a3d824c055f2cee4352 (patch)
treec7b8020f28b80167e3b2e810297ce5ec214ec573
parent96b061787d54265ebd320c3bd6d788f8fc92d400 (diff)
orccompiler: free error message
-rw-r--r--orc/orccompiler.c1
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;
}