Browse Source

Pavel Chromy spotted a leak

git-svn-id: svn://svn.berlios.de/openocd/trunk@380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.1.0
oharboe 16 years ago
parent
commit
0db9f18a18
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/helper/log.c

+ 2
- 0
src/helper/log.c View File

@@ -118,6 +118,8 @@ void log_printfnl(enum log_levels level, const char *file, int line, const char
va_start(args, format);
log_printfv(level, file, line, function, t, args);
va_end(args);
free(t);
}

/* change the current debug level on the fly


Loading…
Cancel
Save