]> xenbits.xensource.com Git - pvdrivers/win/xencons.git/commitdiff
Squash a spurious warning that is breaking SDV
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 5 May 2017 16:09:24 +0000 (17:09 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 5 May 2017 16:09:24 +0000 (17:09 +0100)
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xencons/fdo.c

index 57e7f6de21709aca76a58873425e53f7e4c3ea68..5992776c0076e22ff192b904efc2b777ffe717b1 100644 (file)
@@ -2482,6 +2482,9 @@ DEFINE_FDO_GET_INTERFACE(Suspend, PXENBUS_SUSPEND_INTERFACE)
 DEFINE_FDO_GET_INTERFACE(Store, PXENBUS_STORE_INTERFACE)
 DEFINE_FDO_GET_INTERFACE(Console, PXENBUS_CONSOLE_INTERFACE)
 
+#pragma warning(push)
+#pragma warning(disable:6014) // Leaking memory '&Dx->Link'
+
 NTSTATUS
 FdoCreate(
     IN  PDEVICE_OBJECT      PhysicalDeviceObject
@@ -2736,3 +2739,5 @@ FdoDestroy(
 
     IoDeleteDevice(FunctionDeviceObject);
 }
+
+#pragma warning(pop)