summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2012-12-07 10:27:58 -0600
committerMike Gorse <mgorse@suse.com>2012-12-07 10:27:58 -0600
commitbbf7d2ad1f4abeed634a58c26a0bb25200a5e92b (patch)
treeb61eb209667c9cae1f28aa3d568ae3ba3eb29137
parentc3ec6dc427d1c66e4d42fb82938c4534455b15f2 (diff)
downloadat-spi2-core-bbf7d2ad1f4abeed634a58c26a0bb25200a5e92b.tar.gz
Fix another crash when removing hung processes
There was another instance where we were freeing the wrong data.
-rw-r--r--registryd/deviceeventcontroller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c
index 2aa415a9..19c6df5c 100644
--- a/registryd/deviceeventcontroller.c
+++ b/registryd/deviceeventcontroller.c
@@ -1192,7 +1192,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;
}
}