From 9ece61d2cbda88878b9f1e6a6e62d3d42cbdef00 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Wed, 20 Sep 2017 14:07:35 +0200 Subject: afb-session: Fig tiny bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I74efb96d3140edbf634210189a12399123c0a297 Signed-off-by: José Bollo --- src/afb-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afb-session.c b/src/afb-session.c index 8b566838..db7a99a3 100644 --- a/src/afb-session.c +++ b/src/afb-session.c @@ -449,7 +449,7 @@ void *afb_session_cookie(struct afb_session *session, const void *key, void *(*m cookie = cookie_add(session, idx, key, value, freecb); if (!cookie) { if (makecb && freecb) - free(value); + freecb(value); value = NULL; } } -- cgit 1.2.3-korg