diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-09-25 09:21:18 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-09-25 09:54:19 +0100 |
commit | 3516890dbe7873fde797361640abc5be05fd0089 (patch) | |
tree | ebc320b64d1b624d7198664b3f90efbd9ac40568 /agent | |
parent | 44b332d4495151a5b9fd0603b4a68874c652318e (diff) |
agent: Fix a minor leak in an error handling path
Diffstat (limited to 'agent')
-rw-r--r-- | agent/agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/agent.c b/agent/agent.c index 627d612..e8e9d0d 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -4041,6 +4041,7 @@ nice_agent_recv_messages_blocking_or_nonblocking (NiceAgent *agent, if (!agent_find_component (agent, stream_id, component_id, &stream, &component)) { + g_clear_error (&child_error); g_set_error (&child_error, G_IO_ERROR, G_IO_ERROR_BROKEN_PIPE, "Component removed during call."); |