[MPlayer-dev-eng] [PATCH] String/memory handling in libao/audio_dec.c

Moritz Bunkus moritz at bunkus.org
Wed Oct 13 13:43:37 CEST 2004


Hey,

sorry, I was obviously too tired.

On Wed, Oct 13, 2004 at 12:52:04PM +0200, Reimar Döffinger wrote:
> >>	if(ao_subdevice){
...
> >>+	    ao_subdevice = strdup(&ao[ao_len + 1]);
...

I hadn't seen this line. Therefore I thought that the free might be
called on the result of the strchr...

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds




More information about the MPlayer-dev-eng mailing list