*fixed valgrind memory leak errors.
*TODO: why is alsa's snd_ctl_card_info_free(info) causing double free error (valgrind's "Adress  is is 40 bytes inside a block of size 376 free'd)? No clue. But with that call disabled, everything works as it should and valgrind reports no further errors.