summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nsswitch/wbinfo.c2
1 files changed, 2 insertions, 0 deletions
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;