|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/3] xl: use xrealloc in domain create
Ian Campbell writes ("[PATCH 2/3] xl: use xrealloc in domain create"):
> Using bare realloc risks leaking the old pointer if the realloc fails.
>
> Since xrealloc exits on such failures, drop the error handling.
>
> Noticed while fixing, but not related to, CID 1055898.
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
And queued for push.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |