Commit 8d14a623 authored by Philip Withnall's avatar Philip Withnall

agent: Close Streams before freeing them

This could result in leaking the stream’s un-closed state otherwise, in
any case where a NiceAgent is finalised without
nice_agent_remove_stream() being called on all its streams.
parent 0b0ae4d8
......@@ -4578,6 +4578,7 @@ nice_agent_dispose (GObject *object)
{
Stream *s = i->data;
stream_close (s);
stream_free (s);
}
......
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