diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-28 14:23:32 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-28 14:23:32 +0000 |
commit | 0db9f18a18cfd9c679afa4862e3328caa12f17d7 (patch) | |
tree | fabfbd4b76e5d3e8e11a2d8cde02e794117a7ef5 /src | |
parent | 6d0aa6dc05ce83941d59eb6c3617b35f7595cf2c (diff) | |
download | openocd+libswd-0db9f18a18cfd9c679afa4862e3328caa12f17d7.tar.gz openocd+libswd-0db9f18a18cfd9c679afa4862e3328caa12f17d7.tar.bz2 openocd+libswd-0db9f18a18cfd9c679afa4862e3328caa12f17d7.tar.xz openocd+libswd-0db9f18a18cfd9c679afa4862e3328caa12f17d7.zip |
Pavel Chromy spotted a leak
git-svn-id: svn://svn.berlios.de/openocd/trunk@380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/log.c b/src/helper/log.c index 2a77a270..a3e8e816 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -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 |