Author: rolf
Date: 2007-12-07 07:33:11 -0500 (Fri, 07 Dec 2007)
New Revision: 90921

Modified:
   trunk/moon/plugin/ChangeLog
   trunk/moon/plugin/plugin-class.cpp
   trunk/moon/src/ChangeLog
   trunk/moon/src/xaml.cpp
Log:
* plugin/plugin-class.cpp, src/xaml.cpp: Plug more leaks.

Modified: trunk/moon/plugin/ChangeLog
===================================================================
--- trunk/moon/plugin/ChangeLog 2007-12-07 12:33:10 UTC (rev 90920)
+++ trunk/moon/plugin/ChangeLog 2007-12-07 12:33:11 UTC (rev 90921)
@@ -1,3 +1,7 @@
+2007-12-07  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * plugin-class.cpp: Plug more leaks.
+
 2007-12-06  Jeffrey Stedfast  <[EMAIL PROTECTED]>
 
        * plugin-class.cpp (MoonlightCollectionObject::Invoke):

Modified: trunk/moon/plugin/plugin-class.cpp
===================================================================
--- trunk/moon/plugin/plugin-class.cpp  2007-12-07 12:33:10 UTC (rev 90920)
+++ trunk/moon/plugin/plugin-class.cpp  2007-12-07 12:33:11 UTC (rev 90921)
@@ -1794,6 +1794,7 @@
                        THROW_JS_EXCEPTION ("createFromXamlDownloader");
 
                OBJECT_TO_NPVARIANT (EventObjectCreateWrapper (instance, dep), 
*result);
+               dep->unref ();
                return true;
        }
 

Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-12-07 12:33:10 UTC (rev 90920)
+++ trunk/moon/src/ChangeLog    2007-12-07 12:33:11 UTC (rev 90921)
@@ -1,5 +1,9 @@
 2007-12-07  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
+       * xaml.cpp: Plug more leaks.
+
+2007-12-07  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
        * animation.cpp, geometry.cpp: Fix a couple of memory leaks, detected 
by the
          javascript tests.
 

Modified: trunk/moon/src/xaml.cpp
===================================================================
--- trunk/moon/src/xaml.cpp     2007-12-07 12:33:10 UTC (rev 90920)
+++ trunk/moon/src/xaml.cpp     2007-12-07 12:33:11 UTC (rev 90921)
@@ -2753,6 +2753,7 @@
                return false;
 
        obj->SetValue (prop, v);
+       delete v;
        return true;
 }
 
@@ -2890,6 +2891,7 @@
                        }
 
                        dep->SetValue (prop, v);
+                       delete v;
                        item->MarkPropertyAsSet (prop->name);
                } else {
 

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

Reply via email to