[at-spi2-core/gnome-3-6] Fix another crash when removing hung processes
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core/gnome-3-6] Fix another crash when removing hung processes
- Date: Fri, 7 Dec 2012 16:27:02 +0000 (UTC)
commit 00c94530c0d57808ac1f9e9b1525341654278ba3
Author: Mike Gorse <mgorse suse com>
Date: Fri Dec 7 10:27:58 2012 -0600
Fix another crash when removing hung processes
There was another instance where we were freeing the wrong data.
registryd/deviceeventcontroller.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c
index 101dc6f..b14cd1e 100644
--- a/registryd/deviceeventcontroller.c
+++ b/registryd/deviceeventcontroller.c
@@ -1179,7 +1179,7 @@ reset_hung_process (DBusPendingCall *pending, void *data)
if (!strcmp (l->data, dest))
{
g_free (l->data);
- hung_processes = g_slist_remove (hung_processes, data);
+ hung_processes = g_slist_remove (hung_processes, l->data);
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]