PB 5.21 FreeMemory() error
Posted: Tue Mar 04, 2014 10:38 pm
				
				Hi, getting ima error on FreeMemory(*buffer) in this piece of code:
Faced with the error only if I had Len(str) = 40. Is this bug on not?
Win 7, PB 5.21 x86
			Code: Select all
str.s = "0123456789012345678901234567890123456789"
size.l = StringByteLength(str, #PB_UTF8)
*buffer = AllocateMemory(size)
If *buffer
    
  PokeS(*buffer, str, size, #PB_UTF8)
  str = MD5Fingerprint(*buffer, size)
  Debug str
  FreeMemory(*buffer) <--- IMA error
      
EndIfWin 7, PB 5.21 x86



