Commit 9483d2cf authored by franksen's avatar franksen
Browse files

fixed memory leak

parent 4aa6a73b
......@@ -756,6 +756,8 @@ static void initConversionTask(void)
pcvt->csub = sub;
case menuCvtInitStateAgain:
if (!status)
csm_free((csm_function *)sub);
/* even if initConversion(...) above failed, we go here */
if (reinitConversion(pcvt)) {
/* this is fatal */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment