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

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