summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nmbd/nmbd_synclists.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c
index bc731a9ceb..23cbc01b88 100644
--- a/source3/nmbd/nmbd_synclists.c
+++ b/source3/nmbd/nmbd_synclists.c
@@ -74,7 +74,6 @@ static void sync_child(char *name, int nm_type,
struct nmb_name called, calling;
if (!cli_initialise(&cli) || !cli_connect(&cli, name, &ip)) {
- fclose(fp);
return;
}
@@ -84,7 +83,6 @@ static void sync_child(char *name, int nm_type,
if (!cli_session_request(&cli, &calling, &called))
{
cli_shutdown(&cli);
- fclose(fp);
return;
}