From 5fca7ef4838c6a8aede8a5e338940804e8e363f7 Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Mon, 28 Oct 2019 15:44:42 +0100 Subject: [HICN-363] Fix memory leaks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7617becdb520f20caca341be11fbb8c1054de021 Signed-off-by: Jordan Augé --- hicn-light/src/hicn/core/messageHandler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hicn-light/src/hicn/core/messageHandler.h') diff --git a/hicn-light/src/hicn/core/messageHandler.h b/hicn-light/src/hicn/core/messageHandler.h index f1f91bc40..e2f0140e5 100644 --- a/hicn-light/src/hicn/core/messageHandler.h +++ b/hicn-light/src/hicn/core/messageHandler.h @@ -57,7 +57,7 @@ #include #ifdef WITH_MAPME -#include +#include #include #endif /* WITH_MAPME */ @@ -274,7 +274,7 @@ static inline bool messageHandler_handleHooks(Forwarder * forwarder, /* BEGIN Match */ #ifdef WITH_MAPME - bool is_mapme = mapMe_isMapMe(packet); + bool is_mapme = mapme_isMapMe(packet); is_matched |= is_mapme; #endif /* WITH_MAPME */ @@ -310,7 +310,7 @@ static inline bool messageHandler_handleHooks(Forwarder * forwarder, /* BEGIN Process */ #ifdef WITH_MAPME - if (mapMe_isMapMe(packet)) + if (mapme_isMapMe(packet)) forwarder_ProcessMapMe(forwarder, packet, conn_id); #endif /* WITH_MAPME */ -- cgit 1.2.3-korg