Fix memory leak in logf_impl

This commit is contained in:
Chris Josten 2020-12-28 17:11:07 +01:00
parent 677376795f
commit ffaceca711

View file

@ -56,6 +56,7 @@ void logf_impl(const char *message, const char *file, int line, const char *func
vsyslog(LOG_INFO, msg, args); vsyslog(LOG_INFO, msg, args);
va_end(args); va_end(args);
free(msg);
} }
int quit_if_fail(int err, const char *failMessage) { int quit_if_fail(int err, const char *failMessage) {