From 3b9f8feb481d0532da2ec041a4ddc2e2f1b60649 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 19 Sep 2009 10:18:14 +0200 Subject: [PATCH] afh: Fix memory leak. --- afh.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/afh.c b/afh.c index fad93c49..8e1e6b31 100644 --- a/afh.c +++ b/afh.c @@ -168,6 +168,8 @@ int main(int argc, char **argv) print_chunk_table(&afhi); printf("\n"); } + free(afhi.chunk_table); + free(afhi.info_string); ret2 = para_munmap(audio_file_data, audio_file_size); if (ret2 < 0 && ret >= 0) ret = ret2; -- 2.39.5