summaryrefslogtreecommitdiff
path: root/agent/stream.c
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2013-02-04 23:15:00 -0500
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2013-02-04 23:21:30 -0500
commit30abe66912963e121b6b44168e962ecaef7da83c (patch)
tree93ad86807ade0311b96286cdeee05ae6fe2b1280 /agent/stream.c
parentb1528dae91d92d5576bec753c5e7ec16f5ec0c8e (diff)
downloadlibnice-30abe66912963e121b6b44168e962ecaef7da83c.tar.gz
Adding new SDP parsing and generation API.
This adds nice_agent_set_stream_name, nice_agent_get_stream_name, nice_agent_generate_local_sdp, nice_agent_parse_remote_sdp.
Diffstat (limited to 'agent/stream.c')
-rw-r--r--agent/stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/stream.c b/agent/stream.c
index 1276ae2..870cdda 100644
--- a/agent/stream.c
+++ b/agent/stream.c
@@ -71,6 +71,8 @@ stream_free (Stream *stream)
{
GSList *i;
+ if (stream->name)
+ g_free (stream->name);
for (i = stream->components; i; i = i->next) {
Component *component = i->data;
component_free (component);