alsamixer: remove wrong free(buf) call in read_file()

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2020-07-01 16:16:24 +02:00
parent 0657b2a559
commit 56f2064bb4

View file

@ -127,7 +127,6 @@ char *read_file(const char *file_name, unsigned int *file_size)
f = fopen(file_name, "r");
if (!f) {
err = errno;
free(buf);
errno = err;
return NULL;
}