Fix a memory leak
authorMike Gorse <mgorse@novell.com>
Mon, 22 Aug 2011 18:00:18 +0000 (13:00 -0500)
committerMike Gorse <mgorse@novell.com>
Mon, 22 Aug 2011 18:00:18 +0000 (13:00 -0500)
atspi/atspi-misc.c

index 46616c3..f58a78c 100644 (file)
@@ -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;