[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
At 02:34 +1200 on 11 Sep (1378866861), 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> Acked-by: Tim Deegan <tim@xxxxxxx> > --- > 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); > } > -- > 1.7.10.4 > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |