mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-07 07:23:18 +02:00
glib: Avoid unnecessary qualifier in Marshaller.PtrToStringArrayGFree
This commit is contained in:
parent
32d10bd319
commit
ced6f5e677
@ -233,9 +233,9 @@ namespace GLib {
|
|||||||
string[] members = new string[count];
|
string[] members = new string[count];
|
||||||
for (int i = 0; i < count; ++i) {
|
for (int i = 0; i < count; ++i) {
|
||||||
IntPtr s = Marshal.ReadIntPtr (string_array, i * IntPtr.Size);
|
IntPtr s = Marshal.ReadIntPtr (string_array, i * IntPtr.Size);
|
||||||
members[i] = GLib.Marshaller.PtrToStringGFree (s);
|
members[i] = PtrToStringGFree (s);
|
||||||
}
|
}
|
||||||
GLib.Marshaller.Free (string_array);
|
Free (string_array);
|
||||||
return members;
|
return members;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user