diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-10-27 13:29:16 +0000 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-10-27 13:29:16 +0000 |
commit | b46bc1002ea3a1282708e6c482cb2594af3162a0 (patch) | |
tree | a67fa9e1d92f2739e0a2ec957fb0003f4fa0a848 | |
parent | 33d7a85dd7b083e94ff60b4bbc19cd9ecfdfb1d5 (diff) | |
download | libgsystem-b46bc1002ea3a1282708e6c482cb2594af3162a0.tar.gz |
subprocess: Fix a potential GCancellable leak
-rw-r--r-- | src/gsystem-subprocess.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsystem-subprocess.c b/src/gsystem-subprocess.c index 4ec680f..0248072 100644 --- a/src/gsystem-subprocess.c +++ b/src/gsystem-subprocess.c @@ -599,6 +599,7 @@ gs_subprocess_on_child_exited (GPid pid, g_simple_async_result_complete (data->result); + g_clear_object (&data->cancellable); g_object_unref (data->result); g_object_unref (data->self); g_free (data); |