From 7abb59bca26192c97822996cd4da280cd3e12007 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 6 May 2010 07:38:06 +0000 Subject: [PATCH] Ported branch commit 2852: - corrected memory leak in p3disc heart-beat system. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2854 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/services/p3disc.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libretroshare/src/services/p3disc.cc b/libretroshare/src/services/p3disc.cc index dd2513ff6..f79c13881 100644 --- a/libretroshare/src/services/p3disc.cc +++ b/libretroshare/src/services/p3disc.cc @@ -173,6 +173,7 @@ int p3disc::handleIncoming() } else if (NULL != (dta = dynamic_cast (item))) { recvHeartbeatMsg(dta); + delete item; return 1; } delete item;