Re: [Qemu-devel] [PATCH] numa: fix qerror_report_err not free issue

2014-08-29 Thread Li Liu
On 2014/8/30 13:26, Michael Tokarev wrote: > 30.08.2014 07:36, john.liuli wrote: >> From: Li Liu >> >> All qerror_report_err returned none NULL pointers need to >> be freed, otherwise will cause memory leaking. >> >> Although this place did not cause real memory leaking by exit, >> obviously it'

Re: [Qemu-devel] [PATCH] numa: fix qerror_report_err not free issue

2014-08-29 Thread Gonglei (Arei)
qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] [PATCH] numa: fix qerror_report_err not free issue > > 30.08.2014 07:36, john.liuli wrote: > > From: Li Liu > > > > All qerror_report_err returned none NULL pointers need to > > be freed, otherwise will cause mem

Re: [Qemu-devel] [PATCH] numa: fix qerror_report_err not free issue

2014-08-29 Thread Michael Tokarev
30.08.2014 07:36, john.liuli wrote: > From: Li Liu > > All qerror_report_err returned none NULL pointers need to > be freed, otherwise will cause memory leaking. > > Although this place did not cause real memory leaking by exit, > obviously it's not correct to use qerror_report_err > without err

[Qemu-devel] [PATCH] numa: fix qerror_report_err not free issue

2014-08-29 Thread john.liuli
From: Li Liu All qerror_report_err returned none NULL pointers need to be freed, otherwise will cause memory leaking. Although this place did not cause real memory leaking by exit, obviously it's not correct to use qerror_report_err without error_free it. Signed-off-by: Li Liu --- numa.c |