From: Sebastian Dröge Date: Sun, 13 Apr 2014 19:55:52 +0000 (+0200) Subject: orcprogram: Free init function name X-Git-Tag: orc-0.4.19~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e06895b7999318814916114a6cf98e82ba31bfca;p=platform%2Fupstream%2Forc.git orcprogram: Free init function name --- diff --git a/orc/orcprogram.c b/orc/orcprogram.c index 8110cc8..b1a1713 100644 --- a/orc/orcprogram.c +++ b/orc/orcprogram.c @@ -175,6 +175,10 @@ orc_program_free (OrcProgram *program) orc_code_free (program->orccode); program->orccode = NULL; } + if (program->init_function) { + free (program->init_function); + program->init_function = NULL; + } if (program->name) { free (program->name); program->name = NULL;