```
void reconnect_cb(int fd, short event, void *arg)
...
        if (server->ev != NULL) { /* this was never initializated, so we 
crash!! */
                event_del(server->ev);
                pkg_free(server->ev);
                server->ev = NULL;
        }
```
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/268

-- Commit Summary --

  * jsonrpc-c: fix crash at reconnect_cb if server was never connected

-- File Changes --

    M modules/jsonrpc-c/jsonrpc_io.c (2)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/268.patch
https://github.com/kamailio/kamailio/pull/268.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/268
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to