dev • api • name • gb.releasefile


void GB.ReleaseFile ( char **addr , long len )

Frees the memory used by a file loaded with GB.LoadFile.

  • addr is the address where the file was loaded.

  • len is the length of the file.

You must call this function when you don't use the file anymore. Otherwise, you may create memory leaks!

See also