Re: [Qemu-devel] [PATCH] ossaudio: fix memory leak

2015-06-23 Thread Gonglei
On 2015/6/23 15:35, Markus Armbruster wrote: > writes: > >> From: Gonglei >> >> Variable "conf" going out of scope leaks the storage >> it points to in line 856. >> >> Signed-off-by: Gonglei >> --- >> audio/ossaudio.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/audio/ossaudio.c

Re: [Qemu-devel] [PATCH] ossaudio: fix memory leak

2015-06-23 Thread Markus Armbruster
writes: > From: Gonglei > > Variable "conf" going out of scope leaks the storage > it points to in line 856. > > Signed-off-by: Gonglei > --- > audio/ossaudio.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/audio/ossaudio.c b/audio/ossaudio.c > index 11e76a1..7dbe333 100644 > --- a/

[Qemu-devel] [PATCH] ossaudio: fix memory leak

2015-06-22 Thread arei.gonglei
From: Gonglei Variable "conf" going out of scope leaks the storage it points to in line 856. Signed-off-by: Gonglei --- audio/ossaudio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/audio/ossaudio.c b/audio/ossaudio.c index 11e76a1..7dbe333 100644 --- a/audio/ossaudio.c +++ b/audio/ossa