Blame SOURCES/0047-Ticket-47722-Using-the-filter-file-does-not-work.patch

f92ce9
From 325de7ba798d0f1b7ab4b6e607653306032cd8cd Mon Sep 17 00:00:00 2001
f92ce9
From: Mark Reynolds <mreynolds@redhat.com>
f92ce9
Date: Tue, 9 Dec 2014 15:29:07 -0500
f92ce9
Subject: [PATCH 47/53] Ticket 47722 - Using the filter file does not work
f92ce9
f92ce9
Bug Description:  Using a filter file does not work correctly.  rsearch fails to
f92ce9
                  to use the filters from the file.
f92ce9
f92ce9
Fix Description:  There was a bug where we incorrectly freed each filter right after
f92ce9
                  we added it to the local list.  This left the list empty.
f92ce9
f92ce9
https://fedorahosted.org/389/ticket/47722
f92ce9
f92ce9
Reviewed by: nhosoi(Thanks!)
f92ce9
f92ce9
(cherry picked from commit fb22b387e4376caae35121a645a5879dbac7b4fb)
f92ce9
(cherry picked from commit 4002f3b946f567994de6c32c6ff713b1d341a975)
f92ce9
---
f92ce9
 ldap/servers/slapd/tools/rsearch/nametable.c | 1 -
f92ce9
 1 file changed, 1 deletion(-)
f92ce9
f92ce9
diff --git a/ldap/servers/slapd/tools/rsearch/nametable.c b/ldap/servers/slapd/tools/rsearch/nametable.c
f92ce9
index 9d56a34..03a6ae1 100644
f92ce9
--- a/ldap/servers/slapd/tools/rsearch/nametable.c
f92ce9
+++ b/ldap/servers/slapd/tools/rsearch/nametable.c
f92ce9
@@ -160,7 +160,6 @@ int nt_load(NameTable *nt, const char *filename)
f92ce9
             free(s);
f92ce9
             break;
f92ce9
         }
f92ce9
-        free(s);
f92ce9
     }
f92ce9
     PR_Close(fd);
f92ce9
     return nt->size;
f92ce9
-- 
f92ce9
1.9.3
f92ce9