From 7df568b71c990911e270b02d28844b76d5e5bd2e Mon Sep 17 00:00:00 2001
From: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: Fri, 4 Jun 2021 16:19:50 +0200
Subject: [PATCH] cntlr_map: free cmdu after handling

---
 src/core/cntlr_map.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/cntlr_map.c b/src/core/cntlr_map.c
index f24abf60..6dfaa0b1 100644
--- a/src/core/cntlr_map.c
+++ b/src/core/cntlr_map.c
@@ -715,7 +715,7 @@ int cntlr_handle_map_event(void *module, uint16_t cmdutype, uint16_t mid,
 	if (f[idx].handle)
 		ret = f[idx].handle(c, cmdu);
 
-//	map_free_cmdu(cmdu);
+	cmdu_free(cmdu);
 
 	//TODO: check ret
 
-- 
GitLab