fix memory leak when receiving a is-composing notification

This commit is contained in:
Simon Morlat 2015-09-06 22:45:37 +02:00
parent 787501ea2f
commit bf16b53c6e

View file

@ -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) {