[at-spi2-core] Fix a memory leak when emitting some signals from the registry
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix a memory leak when emitting some signals from the registry
- Date: Sat, 8 Jan 2011 12:15:50 +0000 (UTC)
commit ff8c6089c90e53b5b130131cb5c915fdfa3a91e9
Author: Mike Gorse <mgorse novell com>
Date: Sat Jan 8 06:15:45 2011 -0600
Fix a memory leak when emitting some signals from the registry
registryd/deviceeventcontroller.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c
index b5a8e58..3e82469 100644
--- a/registryd/deviceeventcontroller.c
+++ b/registryd/deviceeventcontroller.c
@@ -421,6 +421,7 @@ static void emit(SpiDEController *controller, const char *interface, const char
dbus_message_iter_close_container (&iter, &iter_struct);
dbus_connection_send (controller->bus, signal, NULL);
+ dbus_message_unref (signal);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]