[PATCH xserver 7/9] record: don't call RecordDeleteContext when AddResource fails
Julien Cristau
jcristau at debian.org
Mon Mar 7 22:20:32 UTC 2016
Signed-off-by: Julien Cristau <jcristau at debian.org>
---
record/record.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/record/record.c b/record/record.c
index 1caf3f1..82bb060 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:
--
2.7.0
More information about the xorg-devel
mailing list