aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ncpd/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncpd/main.cc b/ncpd/main.cc
index 72fc644..7f2ff3e 100644
--- a/ncpd/main.cc
+++ b/ncpd/main.cc
@@ -112,7 +112,7 @@ checkForNewSocketConnection()
a.init();
a.addStringT("No Psion Connected\n");
next->sendBufferStore(a);
- next->closeSocket();
+ delete next;
if (verbose)
lout << "rejected" << endl;
} else