Revert "nsswitch: Fix a memleak in wbinfo"
authorVolker Lendecke <vl@samba.org>
Sat, 24 Apr 2010 10:40:10 +0000 (12:40 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 24 Apr 2010 10:41:47 +0000 (12:41 +0200)
This reverts commit a97f2a0a9c0f1c148a0152202296bb078103b40c.

This was not a memleak, it was a valgrind false positive. We store "details" in
a static.

nsswitch/wbinfo.c

index ca1fefb606d168d5290a141f9c179fadf8fc1f30..e57630991c39b2bc39377e4f483610259f43bad9 100644 (file)
@@ -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;