ref: c69c88195cae2f775a1a21f797686667682bc900
parent: 25d8da725925e03cc0a65f82645a0c47d27067c8
author: Fabian Greffrath <fabian@greffrath.com>
date: Wed Oct 2 07:11:34 EDT 2019
fix a memory leak in chan_remap() Thanks @zvezdochiot
--- a/frontend/input.c
+++ b/frontend/input.c
@@ -277,6 +277,7 @@
for (chn = 0; chn < channels; chn++)
buf[i * channels + chn] = tmp[map[chn]];
}
+ free(tmp);
}
size_t wav_read_float32(pcmfile_t *sndf, float *buf, size_t num, int *map)