diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-09-20 14:07:35 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-10-09 14:08:31 +0200 |
commit | 9ece61d2cbda88878b9f1e6a6e62d3d42cbdef00 (patch) | |
tree | e34095a33da18579167ebe9ea7094b731f725120 /src/afb-session.c | |
parent | 5659246230cef16abae4b1edda9791a1f25fc03d (diff) |
afb-session: Fig tiny bug
Change-Id: I74efb96d3140edbf634210189a12399123c0a297
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-session.c')
-rw-r--r-- | src/afb-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |