aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-08-06 02:02:53 +0000
committerFritz Elfert <felfert@to.com>2002-08-06 02:02:53 +0000
commit1259fb620241150653b231fb8fa774fc4f0598c8 (patch)
treed1af5b66caea003ab46913387e924e0064e6f858 /ncpd
parented8b09f71ae28c26edbdc89333bfc76d37a71af7 (diff)
downloadplptools-1259fb620241150653b231fb8fa774fc4f0598c8.tar.gz
plptools-1259fb620241150653b231fb8fa774fc4f0598c8.tar.bz2
plptools-1259fb620241150653b231fb8fa774fc4f0598c8.zip
- Fixed a memory leak.
Diffstat (limited to 'ncpd')
-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