On Tue, 07/05 15:16, Changlong Xie wrote: > On 07/05/2016 02:56 PM, Fam Zheng wrote: > > On Mon, 07/04 14:40, Paolo Bonzini wrote: > > > Now that json-streamer tries not to leak tokens on incomplete parse, > > > the tokens can be freed twice if QEMU destroys the json-streamer > > > object during the parser->emit call. To fix this, create the new > > > empty GQueue earlier, so that it is already in place when the old > > > one is passed to parser->emit. > > > > > > Reported-by: Changlong Xie <xiecl.f...@cn.fujitsu.com> > > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > > > > Two meta questions: > > > > Is there a reproducer and/or test case coverage? > > tests/qemu-iotests/071 > > > > > Does qemu-stable need this? > > > > http://lists.nongnu.org/archive/html/qemu-devel/2016-07/msg00465.html
Get it! Thanks! Fam