For Allegro >= 8.1, the heap will be released during foreign function calls