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

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