ref: af3cfb3c0017b3dcd370a983d6ec421a20e65ae1
parent: 5b41ef983e4ddd60a0e1d095fd1b798241a3f96f
author: Paul Brossier <piem@piem.org>
date: Sun Nov 17 14:49:01 EST 2013
src/io/audio_unit.c: avoid double free
--- a/src/io/audio_unit.c
+++ b/src/io/audio_unit.c
@@ -652,7 +652,7 @@
if (o->verbose) {
AUBIO_MSG ("audio_unit: current route is %s\n", route);
}
- free(route);
+ //free(route);
}
if( currentRoute ) {
if( CFStringCompare( currentRoute, CFSTR("Headset"), 0 ) == kCFCompareEqualTo ) {