mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
hdspmixer - small memory leak fix
ALSA bug#3687 https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3687 the hdspmixer application leaks one memory block, a c-style string which is obtained by snd_card_get_longname, but never freed ...
This commit is contained in:
parent
60cb55c0f3
commit
18a3037d87
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
}
|
||||
free(name);
|
||||
if (!cards) {
|
||||
printf("No Hammerfall DSP card found.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue