CString confusion

BlitzMax Forums/BlitzMax Programming/CString confusion

Like this:
	Local DLL:Int = LoadLibraryA ( "Data/DLL/OSInfo.dll" )
	For Local i:Int = 1 To 1000000
		Local GetOSInfoProc:Byte Ptr ( typ:Byte Ptr ) "win32" = GetProcAddress ( DLL, "GetOSInfo" )
		Local Name:Byte Ptr = GetOSInfoProc ( "Name".ToCString ( ) ) 
		MemFree Name
		GCCollect()
	Next
	FreeLibrary ( DLL )

Still leaks though, regardless of whether the MemFree comes before or after the GCCollect()

I had the DLL open/close in the loop just to test whether that was leaking. I'll do a few more tests now.