]> git.alsa-project.org Git - alsa-lib.git/commit
snd_user_file: fix memory leak
authorAndreas Schwab <schwab@suse.de>
Mon, 3 Nov 2014 16:22:28 +0000 (17:22 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Nov 2014 16:26:00 +0000 (17:26 +0100)
commitc7bfcbb25548db39299488e285b510a174231076
tree34f02c34811a5b8f9c7f648490f55760853e5f08
parentebd6afc9158c0afd7263a0ffa5474cf9e5f20c66
snd_user_file: fix memory leak

Call wordfree if and only if wordfree returns zero or WRDE_NOSPACE

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/userfile.c