Fixed memory leak in the acmp implementation

This commit is contained in:
Felipe Zimmerle
2017-01-06 00:55:59 -03:00
committed by Felipe Zimmerle
parent 60402d8b80
commit fd341145d5

View File

@@ -131,6 +131,7 @@ char *parse_pm_content(const char *op_parm, unsigned short int op_len, const cha
x++;
} else {
*error_msg = std::string("Unsupported escape sequence.").c_str();
free(parm);
return NULL;
}
esc = 0;