[sr-dev] [kamailio/kamailio] registrar: memory leak in xavp_rcd (#1834)

Olle E. Johansson notifications at github.com
Tue Feb 5 10:48:37 CET 2019


```
                        $var(rc) = save("location", 0x04);
                        if (!$var(rc)) {
                                xlog("L_ERR", "-- REGISTRAR: failed to save registration: $tu => UA: $ua, IP: $si:$sp, Caller-ID: $ci, CSeq: $cs, Expiry: $hdr(Expires), Contact $ct, Return code: $var(rc)\n");
                                sl_reply_error();
                                exit;
                        }

                        if ($hdr(Expires) == "") {
                                $var(expire) = $sel(contact.expires);
                        } else {
                                $var(expire) = $hdr(Expires);
                        }
                        $var(regtime) = $xavp(ulrcd[0]=>expires);

```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1834#issuecomment-460574714
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190205/b2c960ac/attachment.html>


More information about the sr-dev mailing list