From b46bc1002ea3a1282708e6c482cb2594af3162a0 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 27 Oct 2014 13:29:16 +0000 Subject: subprocess: Fix a potential GCancellable leak --- src/gsystem-subprocess.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1