diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2015-02-10 15:36:13 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-02-10 15:49:30 +0100 |
commit | c1332c257e73cb4c8f07158a4d6b639b6d6fb291 (patch) | |
tree | 5df60bfc116fc453ff0755541a57e83bbbc34b31 /src | |
parent | e0011bdcca0d4190a9708ddfd9d70464b2123330 (diff) | |
download | cmocka-c1332c257e73cb4c8f07158a4d6b639b6d6fb291.tar.gz cmocka-c1332c257e73cb4c8f07158a4d6b639b6d6fb291.tar.bz2 cmocka-c1332c257e73cb4c8f07158a4d6b639b6d6fb291.zip |
cmocka: Fix a double free in cmprintf_tap()
CID: #1268622
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/cmocka.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmocka.c b/src/cmocka.c index 124e0b8..fd7b8b3 100644 --- a/src/cmocka.c +++ b/src/cmocka.c @@ -2134,7 +2134,6 @@ static void cmprintf_tap(enum cm_printf_type type, print_message("# %s\n", q); if (p == NULL) { - libc_free(msg); break; } p++; |