Blame SOURCES/0215-rhtsupport-fix-a-double-free-of-config-at-exit.patch

28bab8
From 696fcadc7d494fc14ad5ac23f19b7da6a7f98c3b Mon Sep 17 00:00:00 2001
28bab8
From: Jakub Filak <jfilak@redhat.com>
28bab8
Date: Mon, 5 Sep 2016 10:42:11 +0200
28bab8
Subject: [PATCH] rhtsupport: fix a double free of config at exit
28bab8
28bab8
Introduced in commit 028b35b where I forgot on the code added in commit
28bab8
5ff7f36.
28bab8
28bab8
Related: rhbz#1373094
28bab8
---
28bab8
 src/plugins/reporter-rhtsupport.c | 5 -----
28bab8
 1 file changed, 5 deletions(-)
28bab8
28bab8
diff --git a/src/plugins/reporter-rhtsupport.c b/src/plugins/reporter-rhtsupport.c
28bab8
index 63a24a5..14b3864 100644
28bab8
--- a/src/plugins/reporter-rhtsupport.c
28bab8
+++ b/src/plugins/reporter-rhtsupport.c
28bab8
@@ -811,12 +811,7 @@ int main(int argc, char **argv)
28bab8
             /* Check for hints and show them if we have something */
28bab8
             log(_("Checking for hints"));
28bab8
             if (check_for_hints(base_api_url, &login, &password, ssl_verify, tempfile))
28bab8
-            {
28bab8
-                ureport_server_config_destroy(&urconf);
28bab8
-                free_map_string(ursettings);
28bab8
-                free(bthash);
28bab8
                 goto ret;
28bab8
-            }
28bab8
         }
28bab8
 
28bab8
         log(_("Creating a new case"));
28bab8
-- 
28bab8
1.8.3.1
28bab8