Commit 74975c4a authored by jan.koester's avatar jan.koester
Browse files

memleak fixed

parent 3f83ea07
Loading
Loading
Loading
Loading
+1 −1
Changes for src/linux/event.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ namespace netplus {

    void poll::ConnectEventHandler(int pos)  {
        NetException exception;
        con *ccon=new con();
        con *ccon=new con(this);
        try {
            if(_ServerSocket->_Type==sockettype::TCP){
                ccon->csock=std::make_shared<tcp>();