Blame SOURCES/0109-ureport-fix-a-memory-leak-related-to-AuthDataItems.patch

4b6aa8
From e5233a64b9b85f87163479be2cc63ea34b41c147 Mon Sep 17 00:00:00 2001
4b6aa8
From: Jakub Filak <jfilak@redhat.com>
4b6aa8
Date: Fri, 31 Oct 2014 09:27:33 +0100
4b6aa8
Subject: [LIBREPORT PATCH 109/109] ureport: fix a memory leak related to
4b6aa8
 AuthDataItems
4b6aa8
4b6aa8
Related to rhbz#1139557
4b6aa8
4b6aa8
Signed-off-by: Jakub Filak <jfilak@redhat.com>
4b6aa8
---
4b6aa8
 src/lib/ureport.c | 1 +
4b6aa8
 1 file changed, 1 insertion(+)
4b6aa8
4b6aa8
diff --git a/src/lib/ureport.c b/src/lib/ureport.c
4b6aa8
index 40b7129..ae6a58d 100644
4b6aa8
--- a/src/lib/ureport.c
4b6aa8
+++ b/src/lib/ureport.c
4b6aa8
@@ -641,6 +641,7 @@ ureport_from_dump_dir_ext(const char *dump_dir_path, const struct ureport_prefer
4b6aa8
             }
4b6aa8
 
4b6aa8
             sr_report_add_auth(report, key, value);
4b6aa8
+            free(value);
4b6aa8
         }
4b6aa8
 
4b6aa8
         dd_close(dd);
4b6aa8
-- 
4b6aa8
1.8.3.1
4b6aa8