Browse Source

fix segfault

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent
commit
20dfa12220
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/sdp.c

+ 2
- 0
daemon/sdp.c View File

@ -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