summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2016-03-02 21:25:17 +0100
committerJulien Cristau <jcristau@debian.org>2016-03-02 21:30:17 +0100
commite6e21d9948539973401880e5fed2915bf09a392b (patch)
treefc68cbe0648e2fcdae9c89e15487f6945a5b4206
parent8534d18bf6af7446b0759b39089323cf7c51c1d5 (diff)
record: don't call RecordDeleteContext when AddResource fails
Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--record/record.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/record/record.c b/record/record.c
index 1caf3f1db..82bb0607e 100644
--- a/record/record.c
+++ b/record/record.c
@@ -1878,7 +1878,6 @@ ProcRecordCreateContext(ClientPtr client)
return Success;
}
else {
- RecordDeleteContext((void *) pContext, pContext->id);
return BadAlloc;
}
bailout: