From d96c9e465abb291cb943a1b4ec3643de4b3f6423 Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Tue, 8 Mar 2005 20:45:03 +0000 Subject: 2005-03-08 Joe Shaw * dbus/dbus-connection.c (dbus_connection_send_with_reply): After we attach our pending call to the connection, unref it. Fixes a leak. * mono/Connection.cs (set_RawConnection): Disconnect our filter and match callbacks from the old connection and reconnect them to the new connection, if any. * mono/DBusType/Array.cs: "Code" is a static member, so don't use "this" to refer to it. Fix for stricter checking in Mono 1.1.4. * mono/DBusType/ObjectPath.cs (Append): Don't leak the object path that we pass into unmanaged code. * mono/DBusType/String.cs (Append): Don't leak the string that we pass into unmanged code. --- mono/DBusType/Array.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mono/DBusType/Array.cs') diff --git a/mono/DBusType/Array.cs b/mono/DBusType/Array.cs index 7e46f73d..ef001b98 100644 --- a/mono/DBusType/Array.cs +++ b/mono/DBusType/Array.cs @@ -59,7 +59,7 @@ namespace DBus.DBusType IntPtr arrayIter = Marshal.AllocCoTaskMem (Arguments.DBusMessageIterSize); if (!dbus_message_iter_open_container (iter, - (int) this.Code, + (int) Code, Arguments.GetCodeAsString (elementType), arrayIter)) { throw new ApplicationException("Failed to append array argument: " + val); -- cgit