[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4/9] libxl: dispose dominfo to avoid leaking resource
Add libxl_dominfo_dispose to one return path that doesn't have it. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- tools/libxl/libxl_device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libxl/libxl_device.c b/tools/libxl/libxl_device.c index 2493972..3f8b555 100644 --- a/tools/libxl/libxl_device.c +++ b/tools/libxl/libxl_device.c @@ -816,6 +816,8 @@ void libxl__initiate_device_remove(libxl__egc *egc, be_path); goto out; } + + libxl_dominfo_dispose(&info); return; } } -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |