[lkml]   [2006]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Alsa-devel] [PATCH] Fix a memory leak in pdaudiocf
At Sat, 13 May 2006 23:44:25 +0200,
Jesper Juhl wrote:
> There's a potential memory leak in
> sound/pcmcia/pdaudiocf/pdaudiocf.c::pdacf_config()
> If we leave via one of the *failed: labels we may leak 'parse', so add a
> kfree(parse) to the end of the function and also make sure to set 'parse'
> to NULL after the kfree() call a little further up so we don't do a
> double-free of the pointer if we hit one of the *failed: labels after the
> first kfree().
> Since I don't have the hardware I can't test the patch beyond making sure
> it compiles cleanly, but I feel pretty confident that it is correct.
> Please consider for inclusion.

This bug was already fixed in a different way on ALSA HG repo.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-05-15 10:42    [W:0.077 / U:2.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site