mb_free(c->out_req.name);
c->out_req.name = NULL;
+ bmap_free(&c->export_map);
+ bmap_free(&c->export_reject_map);
+
if (c->restart_export)
{
c->restart_export = 0;
}
channel_roa_unsubscribe_all(c);
-
- bmap_free(&c->export_map);
- bmap_free(&c->export_reject_map);
}
static void
c->proto->active_channels--;
- // bmap_free(&c->export_map);
memset(&c->import_stats, 0, sizeof(struct channel_import_stats));
memset(&c->export_stats, 0, sizeof(struct channel_export_stats));
CALL(c->channel->cleanup, c);
- /* This have to be done in here, as channel pool is freed before channel_do_down() */
- bmap_free(&c->export_map);
- bmap_free(&c->export_reject_map);
-
/* Schedule protocol shutddown */
if (proto_is_done(c->proto))
proto_send_event(c->proto);
stats->updates_rejected++;
if (v == RIC_REJECT)
channel_rte_trace_out(D_FILTERS, c, rt, "rejected by protocol");
- goto reject_noset;
+ goto reject;
}
if (v > 0)