summaryrefslogtreecommitdiff
path: root/hw/dmx/dmxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/dmxstat.c')
-rw-r--r--hw/dmx/dmxstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/dmxstat.c b/hw/dmx/dmxstat.c
index 41b0eb27c..c3f1d3b36 100644
--- a/hw/dmx/dmxstat.c
+++ b/hw/dmx/dmxstat.c
@@ -122,7 +122,7 @@ DMXStatInfo *dmxStatAlloc(void)
/** Free the memory used by a \a DMXStatInfo structure. */
void dmxStatFree(DMXStatInfo *pt)
{
- if (pt) free(pt);
+ free(pt);
}
static void dmxStatValue(DMXStatAvg *data, unsigned long value)