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

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