summaryrefslogtreecommitdiff
path: root/record/set.c
diff options
context:
space:
mode:
Diffstat (limited to 'record/set.c')
-rw-r--r--record/set.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/record/set.c b/record/set.c
index 07a3a63a3..453452ec6 100644
--- a/record/set.c
+++ b/record/set.c
@@ -302,7 +302,7 @@ IntervalListCreateSet(RecordSetInterval *pIntervals, int nIntervals,
if (nIntervals > 0)
{
- stackIntervals = (RecordSetInterval *)ALLOCATE_LOCAL(
+ stackIntervals = (RecordSetInterval *)xalloc(
sizeof(RecordSetInterval) * nIntervals);
if (!stackIntervals) return NULL;
@@ -360,7 +360,7 @@ IntervalListCreateSet(RecordSetInterval *pIntervals, int nIntervals,
memcpy(&prls[1], stackIntervals, nIntervals * sizeof(RecordSetInterval));
prls->nIntervals = nIntervals;
bailout:
- if (stackIntervals) DEALLOCATE_LOCAL(stackIntervals);
+ if (stackIntervals) xfree(stackIntervals);
return (RecordSetPtr)prls;
}