[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 7/8] kdd: fix free of array-typed value
On 10/09/13 15:34, Matthew Daley wrote: > g->id is an array and is allocated as part of g itself; it's not a > separate allocation. > > Coverity-ID: 1054980 > Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> > --- > tools/debugger/kdd/kdd-xen.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tools/debugger/kdd/kdd-xen.c b/tools/debugger/kdd/kdd-xen.c > index 4fbea7d..f3f9529 100644 > --- a/tools/debugger/kdd/kdd-xen.c > +++ b/tools/debugger/kdd/kdd-xen.c > @@ -619,7 +619,6 @@ void kdd_guest_teardown(kdd_guest *g) > { > flush_maps(g); > xc_interface_close(g->xc_handle); > - free(g->id); > free(g->hvm_buf); > free(g); > } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |