I suppose I should also mention I'm using allegro 5.0.10 on a windows PC and building with Code:Blocks and MinGW.
It gives me an error window, and returns -1073741819.
I create the instance inside the main function after all of the Allegro initialization is finished. Everything seems to work fine, and destroying the images I've loaded works fine. Just when I try to destroy the sample it crashes.
Well, I'm an idiot. For some reason I put al_uninstall_audio right before the end of main and didn't think I did. I used al_is_audio_installed to make sure it was still installed immediately before destroying the samples and it returned true. But, I think it may return true even if it isn't currently installed, as long as it was successfully installed earlier in the program. Sorry guys.