Author: mkestner
Date: 2005-03-28 13:01:16 -0500 (Mon, 28 Mar 2005)
New Revision: 42311

Modified:
   branches/gtk-sharp-1-0-branch/gtk-sharp/ChangeLog
   branches/gtk-sharp-1-0-branch/gtk-sharp/generator/Signal.cs
Log:

2005-03-28  Mike Kestner  <[EMAIL PROTECTED]>

        * generator/Signal.cs  : Dispose the values passed to 
        g_signal_chain_from_overriden in base VM invocations. [Fixes #73522]


Modified: branches/gtk-sharp-1-0-branch/gtk-sharp/ChangeLog
===================================================================
--- branches/gtk-sharp-1-0-branch/gtk-sharp/ChangeLog   2005-03-28 17:28:54 UTC 
(rev 42310)
+++ branches/gtk-sharp-1-0-branch/gtk-sharp/ChangeLog   2005-03-28 18:01:16 UTC 
(rev 42311)
@@ -1,3 +1,8 @@
+2005-03-28  Mike Kestner  <[EMAIL PROTECTED]>
+
+       * generator/Signal.cs  : Dispose the values passed to 
+       g_signal_chain_from_overriden in base VM invocations. [Fixes #73522]
+
 2005-03-23  Mike Kestner  <[EMAIL PROTECTED]>
 
        * glib/Marshaller.cs  : s/ulong/UIntPtr for size_t in g_malloc usage.

Modified: branches/gtk-sharp-1-0-branch/gtk-sharp/generator/Signal.cs
===================================================================
--- branches/gtk-sharp-1-0-branch/gtk-sharp/generator/Signal.cs 2005-03-28 
17:28:54 UTC (rev 42310)
+++ branches/gtk-sharp-1-0-branch/gtk-sharp/generator/Signal.cs 2005-03-28 
18:01:16 UTC (rev 42311)
@@ -3,7 +3,7 @@
 // Author: Mike Kestner <[EMAIL PROTECTED]>
 //
 // Copyright (c) 2001-2003 Mike Kestner 
-// Copyright (c) 2003-2004 Novell, Inc.
+// Copyright (c) 2003-2005 Novell, Inc.
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of version 2 of the GNU General Public
@@ -224,6 +224,8 @@
                        sw.WriteLine ("\t\t\tg_signal_chain_from_overridden 
(inst_and_params.ArrayPtr, ref ret);");
                        if (cleanup != "")
                                sw.WriteLine (cleanup);
+                       sw.WriteLine ("\t\t\tforeach (GLib.Value v in vals)");
+                       sw.WriteLine ("\t\t\t\tv.Dispose ();");
                        if (!IsVoid)
                                sw.WriteLine ("\t\t\treturn (" + retval.CSType 
+ ") ret;");
                        sw.WriteLine ("\t\t}\n");

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to