From: Takashi Iwai Date: Wed, 30 Jan 2008 07:58:17 +0000 (+0100) Subject: Fix a small memleak X-Git-Tag: v1.0.16~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=60a3e7ce967753fc1d63b23b4595d17bdcb42ea4;p=alsa-tools.git Fix a small memleak Added the forgotten free. ALSA bug#3687 https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3687 --- diff --git a/hdspconf/src/hdspconf.cxx b/hdspconf/src/hdspconf.cxx index fb81d02..d95c3b5 100644 --- a/hdspconf/src/hdspconf.cxx +++ b/hdspconf/src/hdspconf.cxx @@ -174,6 +174,7 @@ int main(int argc, char **argv) } else if (!strncmp(name, "RME Hammerfall DSP", 18)) { printf("Uninitialized HDSP card found.\nUse hdsploader to upload configuration data to the card.\n"); } + free(name); } } #endif