fixed memory leak
authorVictor Kirhenshtein <victor@netxms.org>
Thu, 25 Aug 2016 05:30:48 +0000 (08:30 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Thu, 25 Aug 2016 05:30:48 +0000 (08:30 +0300)
src/libnxcc/comm.cpp

index e427150..349273c 100644 (file)
@@ -389,6 +389,7 @@ static THREAD_RESULT THREAD_CALL ClusterKeepaliveThread(void *arg)
       }
    }
 
+   free(rawMsg);
    ClusterDebug(1, _T("Cluster keepalive thread stopped"));
    return THREAD_OK;
 }