Hi Razvan,

It's not a memory issue. If you check a few lines higher before my patch you'll find this:
        if (op == OP_OFFER || op == OP_ANSWER) {
                ng_flags.flags = bencode_list(bencbuf);
                .......
        }

ng_flags.flags bencode list is created only for OP_OFFER and OP_ANSWER and stays NULL for OP_DELETE operation. That's the reason why flags parsing fails for delete.



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to