]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Fix a small memleak
authorTakashi Iwai <tiwai@suse.de>
Wed, 30 Jan 2008 07:58:17 +0000 (08:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 30 Jan 2008 07:58:17 +0000 (08:58 +0100)
Added the forgotten free.  ALSA bug#3687
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3687

hdspconf/src/hdspconf.cxx

index fb81d02c37544fdba5b21c644a753d513a4076a2..d95c3b5576677bf28a01e0175f019087a4bd751e 100644 (file)
@@ -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