diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-18 14:09:22 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-18 15:25:02 +0200 |
commit | a97f2a0a9c0f1c148a0152202296bb078103b40c (patch) | |
tree | 90d797b8dfcd758e7b6f872e139d4d6d1ae00bf7 | |
parent | e1ca45179419f96b831cc929ff46df39a4766388 (diff) | |
download | samba-a97f2a0a9c0f1c148a0152202296bb078103b40c.tar.gz samba-a97f2a0a9c0f1c148a0152202296bb078103b40c.tar.bz2 samba-a97f2a0a9c0f1c148a0152202296bb078103b40c.zip |
nsswitch: Fix a memleak in wbinfo
-rw-r--r-- | nsswitch/wbinfo.c | 2 |
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; |