xl: destroy device model info after creation
authorIan Campbell <ian.campbell@citrix.com>
Thu, 19 Aug 2010 14:31:14 +0000 (15:31 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 19 Aug 2010 14:31:14 +0000 (15:31 +0100)
[PATCH 12 of 16 of
 libxl: autogenerate type definitions and destructor functions]

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c

index 835a50f8b0ef60625cdbee70b7306886f241b236..6f5f6c8e8b2527f94243fe6693fe6587d5c7df96 100644 (file)
@@ -1624,6 +1624,8 @@ out:
     if (logfile != 2)
         close(logfile);
 
+    libxl_device_model_info_destroy(&dm_info);
+
     free_domain_config(&d_config);
 
     free(config_data);