Commit 71cf3a47 authored by Youness Alaoui's avatar Youness Alaoui

Free the strduped software attribute when the nice agent gets disposed

parent d7b8620f
...@@ -2006,6 +2006,9 @@ nice_agent_dispose (GObject *object) ...@@ -2006,6 +2006,9 @@ nice_agent_dispose (GObject *object)
priv_free_upnp (agent); priv_free_upnp (agent);
g_free (agent->software_attribute);
agent->software_attribute = NULL;
if (G_OBJECT_CLASS (nice_agent_parent_class)->dispose) if (G_OBJECT_CLASS (nice_agent_parent_class)->dispose)
G_OBJECT_CLASS (nice_agent_parent_class)->dispose (object); G_OBJECT_CLASS (nice_agent_parent_class)->dispose (object);
......
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