From 60a3e7ce967753fc1d63b23b4595d17bdcb42ea4 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 30 Jan 2008 08:58:17 +0100 Subject: [PATCH] Fix a small memleak Added the forgotten free. ALSA bug#3687 https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3687 --- hdspconf/src/hdspconf.cxx | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.1