aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/record
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/record')
-rw-r--r--xorg-server/record/record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/record/record.c b/xorg-server/record/record.c
index cafe02168..952b222f1 100644
--- a/xorg-server/record/record.c
+++ b/xorg-server/record/record.c
@@ -1958,7 +1958,7 @@ ProcRecordCreateContext(ClientPtr client)
else
{
RecordDeleteContext((pointer)pContext, pContext->id);
- err = BadAlloc;
+ return BadAlloc;
}
bailout:
free(pContext);