This fixes a segmentation fault when trying to access a NULL rn.conf:
vongole> para_recv -r 'dccp -i localhost -c 253'
dccp_recv_ccid_support_check: 'CCID-253' not supported on this host.
main: parse failed
Segmentation fault
r->close(&rn);
btr_free_node(rn.btrn);
btr_free_node(sot.btrn);
- r->free_config(rn.conf);
+ if (rn.conf)
+ r->free_config(rn.conf);
if (ret < 0)
PARA_ERROR_LOG("%s\n", para_strerror(-ret));
return ret < 0? EXIT_FAILURE : EXIT_SUCCESS;