summaryrefslogtreecommitdiff
path: root/hw/dmx/input/usb-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/input/usb-common.c')
-rw-r--r--hw/dmx/input/usb-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/input/usb-common.c b/hw/dmx/input/usb-common.c
index 95c00b839..25479aea6 100644
--- a/hw/dmx/input/usb-common.c
+++ b/hw/dmx/input/usb-common.c
@@ -377,5 +377,5 @@ pointer usbCreatePrivate(DeviceIntPtr pDevice)
/** Destroy a private structure. */
void usbDestroyPrivate(pointer priv)
{
- if (priv) free(priv);
+ free(priv);
}