Commit f57db91b authored by Pekka Pessi's avatar Pekka Pessi
Browse files

sdp.c: allow NULL in sdp session tag (like SOATAG_USER_SDP).

parent 62fb050e
......@@ -1061,7 +1061,7 @@ tagi_t *sdptag_session_dup(tagi_t *dst, tagi_t const *src, void **bb)
srcsdp = (sdp_session_t *)src->t_value;
sdp = session_dup(&b, srcsdp);
sdp = srcsdp ? session_dup(&b, srcsdp) : NULL;
dst->t_tag = src->t_tag;
dst->t_value = (tag_value_t)sdp;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment