diff options
-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; } } |