From 4c7cc8bb6303e9f976cdb87e2c00849ac46f8f02 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 24 Apr 2010 12:40:10 +0200 Subject: Revert "nsswitch: Fix a memleak in wbinfo" This reverts commit a97f2a0a9c0f1c148a0152202296bb078103b40c. This was not a memleak, it was a valgrind false positive. We store "details" in a static. --- nsswitch/wbinfo.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'nsswitch/wbinfo.c') diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index ca1fefb606..e57630991c 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -72,8 +72,6 @@ static char winbind_separator(void) sep = details->winbind_separator; got_sep = true; - wbcFreeMemory(details); - if (!sep) { d_fprintf(stderr, "winbind separator was NULL!\n"); return 0; -- cgit