Author: rolf
Date: 2007-09-27 10:40:13 -0400 (Thu, 27 Sep 2007)
New Revision: 86500

Modified:
   trunk/olive/class/agclr/ChangeLog
   trunk/olive/class/agclr/Internal.cs
Log:
* Internal.cs: Don't ref ourself if we're created using a *_new
  function, the creation itself already gives us a ref.

Modified: trunk/olive/class/agclr/ChangeLog
===================================================================
--- trunk/olive/class/agclr/ChangeLog   2007-09-27 14:18:06 UTC (rev 86499)
+++ trunk/olive/class/agclr/ChangeLog   2007-09-27 14:40:13 UTC (rev 86500)
@@ -1,3 +1,8 @@
+2007-09-27  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * Internal.cs: Don't ref ourself if we're created using a *_new 
function,
+         the creation itself already gives us a ref.
+
 2007-09-21  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
        * agclr.dll.sources: Added ManagedXamlLoader.cs

Modified: trunk/olive/class/agclr/Internal.cs
===================================================================
--- trunk/olive/class/agclr/Internal.cs 2007-09-27 14:18:06 UTC (rev 86499)
+++ trunk/olive/class/agclr/Internal.cs 2007-09-27 14:40:13 UTC (rev 86500)
@@ -46,7 +46,6 @@
                
                internal Collection () : base (NativeMethods.collection_new ())
                {
-                       NativeMethods.base_ref (native);
                        //
                        // We really need to revisit native collections, should
                        // they all be Collection *, instead of Collection 
fields?

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

Reply via email to