From: Christian Grothoff Date: Thu, 10 May 2012 09:05:04 +0000 (+0000) Subject: -fix leak X-Git-Tag: initial-import-from-subversion-38251~13556 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=887ac96f4b705ae2289fcdb11ddeca07d1e0d8ff;p=oweals%2Fgnunet.git -fix leak --- diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index f162184eb..f3f0906d6 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c @@ -1539,7 +1539,7 @@ GSC_KX_handle_encrypted_message (struct GSC_KeyExchangeInfo *kx, if (KX_STATE_KEY_RECEIVED == kx->status) { /* defer */ - GNUNET_free_non_null (kx->ping_received); + GNUNET_free_non_null (kx->emsg_received); kx->emsg_received = (struct EncryptedMessage *) GNUNET_copy_message (msg); return; }