j
k
j a
j l
On Fri, 2011-07-22 at 13:37 +0200, Miroslav Lichvar wrote:
char *msg = xasprintf("%s", result); res = new_report_result(REPORT_RESULT_TYPE_MESSAGE, msg); msg = format_report_result(res); <--- HERE
char *msg = xasprintf("%s", result);
res = new_report_result(REPORT_RESULT_TYPE_MESSAGE, msg);
msg = format_report_result(res); <--- HERE
Memory leak: xasprintf result is lost.
Back to the thread
Back to the list