mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:05:41 +01:00
alsamixer: remove wrong free(buf) call in read_file()
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
0657b2a559
commit
56f2064bb4
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue