mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-23 01:10:58 +00: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 a new issue