fix segfault

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent 009a2029b9
commit 20dfa12220

@ -900,6 +900,8 @@ static unsigned long new_priority(struct sdp_media *media) {
str_init(&s, "candidate");
cands = g_hash_table_lookup(media->attributes.lists_hash, &s);
if (!cands)
goto out;
for (l = cands->head; l; l = l->next) {
c = l->data;

Loading…
Cancel
Save