Re: [PATCH][next] selftests: ALSA: Fix fclose on an already fclosed file pointer

From: Takashi Iwai
Date: Thu Jul 13 2023 - 02:08:35 EST


On Wed, 12 Jul 2023 16:01:22 +0200,
Colin Ian King wrote:
>
> In the case where a sysfs file cannot be opened the error return path
> fcloses file pointer fpl, however, fpl has already been closed in the
> previous stanza. Fix the double fclose by removing it.
>
> Fixes: 10b98a4db11a ("selftests: ALSA: Add test for the 'pcmtest' driver")
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Thanks, applied.


Takashi