Commit 18a09dac authored by nextime's avatar nextime

free(str) after printing it!

parent 601c3305
......@@ -91,9 +91,9 @@ static void pint_debug(const char *msg, ...)
vsnprintf(str, len+1, msg, args);
va_end(args);
free(str);
fprintf(stderr, "D:PINTHREAD: %s\n", str);
free(str);
}
}
......
Markdown is supported
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