From bf16b53c6e434250131f9a0823c315c4017b2c79 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Sun, 6 Sep 2015 22:45:37 +0200 Subject: [PATCH] fix memory leak when receiving a is-composing notification --- coreapi/callbacks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index 0f62eb9a0..5ce07dd3c 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -1106,6 +1106,7 @@ static void text_received(SalOp *op, const SalMessage *msg){ static void is_composing_received(SalOp *op, const SalIsComposing *is_composing) { LinphoneCore *lc = (LinphoneCore *)sal_get_user_pointer(sal_op_get_sal(op)); linphone_core_is_composing_received(lc, op, is_composing); + sal_op_release(op); } static void parse_presence_requested(SalOp *op, const char *content_type, const char *content_subtype, const char *body, SalPresenceModel **result) {