Skip to content

Prevents rist_sender_destroy_local from segfaulting when there are no peers

Kevin Pan requested to merge kjnk/librist:rist-destroy-segfault-fix into master

When ctx->common.PEERS is null (i.e. no peers), and rist_sender_destroy_local is called, it segfaults. Fixes rist_sender_destroy_local to match rist_receiver_destroy_local such that a segfault doesn't occur when the function is called and there are no peers.

Merge request reports