28 lines
724 B
Diff
28 lines
724 B
Diff
From 70f0b9bbfb297cdcd1eb56162d9cbe9ca832f84f Mon Sep 17 00:00:00 2001
|
|
From: Jakub Filak <jfilak@redhat.com>
|
|
Date: Fri, 31 Oct 2014 09:27:33 +0100
|
|
Subject: [PATCH] ureport: fix a memory leak related to AuthDataItems
|
|
|
|
Related to rhbz#1139557
|
|
|
|
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
---
|
|
src/lib/ureport.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/lib/ureport.c b/src/lib/ureport.c
|
|
index 868bb4f..9c007fe 100644
|
|
--- a/src/lib/ureport.c
|
|
+++ b/src/lib/ureport.c
|
|
@@ -640,6 +640,7 @@ ureport_from_dump_dir_ext(const char *dump_dir_path, const struct ureport_prefer
|
|
}
|
|
|
|
sr_report_add_auth(report, key, value);
|
|
+ free(value);
|
|
}
|
|
|
|
dd_close(dd);
|
|
--
|
|
2.1.0
|
|
|