mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 00:55:29 +00:00
2004-02-03 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : remove double free of ManagedValues. Fixes the unfiled (cough, tberman, cough) bug in managed types as tree store values. svn path=/trunk/gtk-sharp/; revision=22745
This commit is contained in:
parent
d723bf3cef
commit
75f7d1226d
|
@ -1,3 +1,9 @@
|
|||
2004-02-03 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* glib/Value.cs : remove double free of ManagedValues. Fixes the
|
||||
unfiled (cough, tberman, cough) bug in managed types as tree
|
||||
store values.
|
||||
|
||||
2004-02-03 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* glib/ManagedValue.cs : null check on Free.
|
||||
|
|
|
@ -67,10 +67,6 @@ namespace GLib {
|
|||
|
||||
public void Dispose () {
|
||||
if (_val != IntPtr.Zero && needs_dispose) {
|
||||
IntPtr rawtype = gtksharp_value_get_value_type (_val);
|
||||
if (rawtype == ManagedValue.GType.Val) {
|
||||
ManagedValue.Free (g_value_get_boxed (_val));
|
||||
}
|
||||
|
||||
lock (idle_queue) {
|
||||
idle_queue.Enqueue (_val);
|
||||
|
|
Loading…
Reference in a new issue