memory leak in hwform.cpp (issue 386)
authorStepan777
Sun, 22 Apr 2012 03:59:24 +0200
changeset 6907 a2f9a9a62dc5
parent 6906 6f5e1e64f106
child 6908 896ed2afcfb8
memory leak in hwform.cpp (issue #386)
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Sun Apr 22 02:10:44 2012 +0200
+++ b/QTfrontend/hwform.cpp	Sun Apr 22 03:59:24 2012 +0200
@@ -1180,6 +1180,7 @@
         netPort = hpd->sbPort->value();
         NetConnectServer(*netHost, netPort);
     }
+    delete hpd;
 }
 
 void HWForm::NetStartServer()