diff options
Diffstat (limited to 'src/tc-memmem.c')
-rw-r--r-- | src/tc-memmem.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/tc-memmem.c b/src/tc-memmem.c index 342500f..a4f272e 100644 --- a/src/tc-memmem.c +++ b/src/tc-memmem.c @@ -1,10 +1,6 @@ +// SPDX-License-Identifier: MIT /* * speed test HX_memmem - * Copyright Jan Engelhardt - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the WTF Public License version 2 or - * (at your option) any later version. */ #include <stdio.h> #include <stdlib.h> @@ -35,6 +31,7 @@ static void long_scan(void) printf("long_scan: filler2=%p p=%p\n", filler2, p); HX_timespec_sub(&delta, &stop, &start); printf("long_scan: " HX_TIMESPEC_FMT "\n", HX_TIMESPEC_EXP(&delta)); + free(filler2); } int main(void) |