[at-spi2-core: 24/32] Reorder g_free around g_list_remove
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core: 24/32] Reorder g_free around g_list_remove
- Date: Tue, 14 Dec 2021 22:30:57 +0000 (UTC)
commit 3ca7fef1aea008044674b1430328cd184a2c21c9
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Dec 14 16:00:01 2021 -0600
Reorder g_free around g_list_remove
registryd/registry.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/registryd/registry.c b/registryd/registry.c
index bfa3a317..e22fbcbc 100644
--- a/registryd/registry.c
+++ b/registryd/registry.c
@@ -248,8 +248,8 @@ remove_events (SpiRegistry *registry, const char *bus_name, const char *event)
g_strfreev (evdata->data);
g_free (evdata->bus_name);
g_slist_free_full (evdata->properties, g_free);
- g_free (evdata);
registry->events = g_list_remove (registry->events, evdata);
+ g_free (evdata);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]