410:8f4d28ac6ae2 | 411:bbd82eee568e |
---|---|
632 * the sn->config is referenced by the connection, so we don't | 632 * the sn->config is referenced by the connection, so we don't |
633 * unref it | 633 * unref it |
634 */ | 634 */ |
635 } else { | 635 } else { |
636 connection_destroy(sn->connection); | 636 connection_destroy(sn->connection); |
637 cfg_unref(sn->config); | |
638 } | 637 } |
639 | 638 |
640 // free all memory | 639 // free all memory |
641 free(sn->netbuf->inbuf); | 640 free(sn->netbuf->inbuf); |
642 free(sn->netbuf); | 641 free(sn->netbuf); |