From a97f2a0a9c0f1c148a0152202296bb078103b40c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 18 Apr 2010 14:09:22 +0200 Subject: nsswitch: Fix a memleak in wbinfo --- nsswitch/wbinfo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nsswitch/wbinfo.c') diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index cbd4f1d8ee..afecc86f1e 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -72,6 +72,8 @@ 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