From: Sebastian Dröge Date: Sun, 13 Apr 2014 19:36:43 +0000 (+0200) Subject: orcprogram: Free OrcCode together with the program X-Git-Tag: orc-0.4.19~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b69316c0f3fc54375366fe038eb3954e7f7849af;p=platform%2Fupstream%2Forc.git orcprogram: Free OrcCode together with the program --- diff --git a/orc/orcprogram.c b/orc/orcprogram.c index 8788100..8110cc8 100644 --- a/orc/orcprogram.c +++ b/orc/orcprogram.c @@ -171,6 +171,10 @@ orc_program_free (OrcProgram *program) free (program->asm_code); program->asm_code = NULL; } + if (program->orccode) { + orc_code_free (program->orccode); + program->orccode = NULL; + } if (program->name) { free (program->name); program->name = NULL;