Skip to content

Commit 8fe2bc6

Browse files
committed
log BUGFIX memory leak
1 parent 2743489 commit 8fe2bc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/log.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ ly_log_dbg(int group, const char *format, ...)
279279
va_start(ap, format);
280280
log_vprintf(NULL, LY_LLDBG, 0, 0, NULL, dbg_format, ap);
281281
va_end(ap);
282+
free(dbg_format);
282283
}
283284

284285
#endif

0 commit comments

Comments
 (0)