summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-02-10 15:36:13 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-02-10 15:49:30 +0100
commitc1332c257e73cb4c8f07158a4d6b639b6d6fb291 (patch)
tree5df60bfc116fc453ff0755541a57e83bbbc34b31 /src
parente0011bdcca0d4190a9708ddfd9d70464b2123330 (diff)
downloadcmocka-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.c1
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++;