Author: rolf
Date: 2007-09-27 07:42:19 -0400 (Thu, 27 Sep 2007)
New Revision: 86487

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/xaml.cpp
Log:
* xaml.cpp: More unrefs.

Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-09-27 11:41:58 UTC (rev 86486)
+++ trunk/moon/src/ChangeLog    2007-09-27 11:42:19 UTC (rev 86487)
@@ -1,5 +1,9 @@
 2007-09-27  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
+       * xaml.cpp: More unrefs.
+
+2007-09-27  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
        * text.cpp: Unref a few newly created objects.
        * control.cpp: Remove an unnecessary ref.
 

Modified: trunk/moon/src/xaml.cpp
===================================================================
--- trunk/moon/src/xaml.cpp     2007-09-27 11:41:58 UTC (rev 86486)
+++ trunk/moon/src/xaml.cpp     2007-09-27 11:42:19 UTC (rev 86487)
@@ -801,9 +801,11 @@
                                        if (!inlines) {
                                                inlines = new Inlines ();
                                                text_block_set_inlines 
((TextBlock *) p->current_element->item, inlines);
+                                               inlines->unref ();
                                        }
 
                                        inlines->Add (run);
+                                       run->unref ();
                                }
                        }
                        

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

Reply via email to