Skip to content
Commit c810f903 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: PCM: Fix possible memory leaks in the error path



When the first page allocation failed for sgbuf, it leaks the records
that have been formerly allocated.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ac190c76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment