summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-02-10 14:36:13 (GMT)
committerAndreas Schneider <asn@cryptomilk.org>2015-02-10 14:49:30 (GMT)
commitc1332c257e73cb4c8f07158a4d6b639b6d6fb291 (patch)
tree5df60bfc116fc453ff0755541a57e83bbbc34b31
parente0011bdcca0d4190a9708ddfd9d70464b2123330 (diff)
downloadcmocka-c1332c257e73cb4c8f07158a4d6b639b6d6fb291.zip
cmocka-c1332c257e73cb4c8f07158a4d6b639b6d6fb291.tar.gz
cmocka-c1332c257e73cb4c8f07158a4d6b639b6d6fb291.tar.bz2
cmocka: Fix a double free in cmprintf_tap()
CID: #1268622 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-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++;