aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/record/set.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/record/set.c')
-rw-r--r--xorg-server/record/set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/record/set.c b/xorg-server/record/set.c
index 12f0d1267..d4bb4f2cc 100644
--- a/xorg-server/record/set.c
+++ b/xorg-server/record/set.c
@@ -360,7 +360,7 @@ IntervalListCreateSet(RecordSetInterval *pIntervals, int nIntervals,
memcpy(&prls[1], stackIntervals, nIntervals * sizeof(RecordSetInterval));
prls->nIntervals = nIntervals;
bailout:
- if (stackIntervals) free(stackIntervals);
+ free(stackIntervals);
return (RecordSetPtr)prls;
}