Skip to content

Commit

Permalink
Fix memory leak in sdp-utils.c (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rytis Kymantas committed Jul 23, 2020
1 parent 1c16eb4 commit d03fc23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdp-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,7 @@ int janus_sdp_generate_offer_mline(janus_sdp *offer, ...) {
}
iter = iter->next;
}
g_list_free(ids);
}
/* Check if there's a custom fmtp line to add */
if(type == JANUS_SDP_AUDIO && fmtp != NULL) {
Expand Down

0 comments on commit d03fc23

Please sign in to comment.