Fixes for JACK driver port detection

The new JACK code had a tiny leak and some problems with checking uninited vars against NULL (caused it not to connect to both ports).  This should fix those right up. :)