[at-spi2-core] Fix a memory leak



commit 961ce7006664dcba8357ea860b5fa6acfb69379a
Author: Mike Gorse <mgorse novell com>
Date:   Mon Aug 22 13:00:18 2011 -0500

    Fix a memory leak

 atspi/atspi-misc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index 46616c3..f58a78c 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -1088,6 +1088,7 @@ _atspi_dbus_get_property (gpointer obj, const char *interface, const char *name,
   }
   retval = TRUE;
 done:
+  dbus_error_free (&err);
   if (reply)
     dbus_message_unref (reply);
   return retval;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]