diff --git a/Source/Libs/GLibSharp/ValueArray.cs b/Source/Libs/GLibSharp/ValueArray.cs index b98abf9e0..b3848894e 100644 --- a/Source/Libs/GLibSharp/ValueArray.cs +++ b/Source/Libs/GLibSharp/ValueArray.cs @@ -43,7 +43,7 @@ namespace GLib { public ValueArray (IntPtr raw) { - handle = raw; + handle = g_value_array_copy (raw); } ~ValueArray ()