From 0d92dfa8e2d5160e33174cedf2b9fad5e2aacb96 Mon Sep 17 00:00:00 2001 From: Mateusz Moscicki Date: Mon, 17 May 2021 12:47:57 +0200 Subject: [PATCH] crash-manager: Fix memory leak Change-Id: I022a378b011f1f7220f87946c85eca2e7ec8553c --- src/crash-manager/so-info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crash-manager/so-info.c b/src/crash-manager/so-info.c index a80cc52..03f01fb 100644 --- a/src/crash-manager/so-info.c +++ b/src/crash-manager/so-info.c @@ -582,6 +582,7 @@ void get_and_save_so_info(char *map_path, char *out_path) } ri->app_name = get_app_name_from_path(file_path); if (ri->app_name == NULL) { + free(ri->file_path); free(ri); free(build_id); continue; -- 2.7.4