blam r641 - trunk/src



Author: cmartin
Date: Sun Sep 14 21:19:07 2008
New Revision: 641
URL: http://svn.gnome.org/viewvc/blam?rev=641&view=rev

Log:
Remove the allocation from thelist once freed.

Modified:
   trunk/src/ChannelList.cs

Modified: trunk/src/ChannelList.cs
==============================================================================
--- trunk/src/ChannelList.cs	(original)
+++ trunk/src/ChannelList.cs	Sun Sep 14 21:19:07 2008
@@ -453,6 +453,7 @@
 
             foreach(IntPtr ptr in allocs){
                 Marshal.FreeHGlobal(ptr);
+                allocs.Remove(ptr);
             }
         }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]