diff options
-rw-r--r-- | source3/libsmb/namequery.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 1520e6cec2..6449de0e0e 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -960,6 +960,7 @@ static BOOL resolve_lmhosts(const char *name, int name_type, (*return_count)+1); if ((*return_iplist) == NULL) { + endlmhosts(fp); DEBUG(3,("resolve_lmhosts: malloc fail !\n")); return False; } |