On this error path, pdu_buf was never freed. Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> --- diff --git a/blkrawverify.c b/blkrawverify.c index 4638eb7..ed5d258 100644 --- a/blkrawverify.c +++ b/blkrawverify.c @@ -201,6 +201,7 @@ static int process(FILE **fp, char *devname, char *file, unsigned int cpu) if (n == 0) { INC_BAD("bad pdu"); nbad_seq++; + free(pdu_buf); break; } free(pdu_buf); -- To unsubscribe from this list: send the line "unsubscribe linux-btrace" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html