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

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