diff options
author | Julien Cristau <jcristau@debian.org> | 2016-03-07 23:20:32 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-03-08 10:20:04 -0500 |
commit | 054f80717812d4781741cd05393623fe6f6c627f (patch) | |
tree | e5f9ae69268776e6598fc829b2cb67233efc7b2f | |
parent | d0c1a5bc61a3d151f2234aa3820862f16c0f00c7 (diff) |
record: don't call RecordDeleteContext when AddResource fails
Reviewed-by: RĂ©mi Cardona <remi@gentoo.org>
Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | record/record.c | 1 |
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: |