Don't switch to gsConfirm state (which is pretty same as gsGame) when not in gsGame or gsChat state. Prevents crashes and other possible kinds of wierd behaviour.
#include <stdio.h>
#include "openalbridge.h"
int main (int argc, int **argv) {
openal_init();
openal_close();
return 0;
}