aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core
diff options
context:
space:
mode:
authorJacques Samain <jsamain@cisco.com>2021-01-20 09:32:11 +0100
committerJacques Samain <jsamain@cisco.com>2021-01-20 09:41:15 +0100
commit3b1d7dbd297cba50cbd54be118e549f879b2fc6a (patch)
tree137d866b34f83b494d69ef261adbc515e6030391 /hicn-light/src/hicn/core
parentaa7b78dfca61e4af67e660d0904f9cbe3e98f5dc (diff)
[HICN-668] Fix leaks + double free
Signed-off-by: Jacques Samain <jsamain@cisco.com> Change-Id: Ic52adacaeee737120f08e4fece93eff44fa29f87
Diffstat (limited to 'hicn-light/src/hicn/core')
-rw-r--r--hicn-light/src/hicn/core/messageHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/core/messageHandler.h b/hicn-light/src/hicn/core/messageHandler.h
index a8b2a3e54..f6b3e4e36 100644
--- a/hicn-light/src/hicn/core/messageHandler.h
+++ b/hicn-light/src/hicn/core/messageHandler.h
@@ -321,7 +321,7 @@ static inline bool messageHandler_handleHooks(Forwarder * forwarder,
/* ... */
/* END Process */
-
+ parcMemory_Deallocate((void **)&packet);
return true;
}