Make sure graphics and sound data is really freed