From 1e23814dfdfa1f1eda26480edaf4e26cbdc43960 Mon Sep 17 00:00:00 2001 From: kakwa Date: Mon, 29 Aug 2016 19:49:39 +0200 Subject: [PATCH] some code cleaning --- src/lib/rfc3161.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/rfc3161.c b/src/lib/rfc3161.c index 841d4ad..aaea798 100644 --- a/src/lib/rfc3161.c +++ b/src/lib/rfc3161.c @@ -323,7 +323,6 @@ int create_response(rfc3161_context *ct, char *query, TS_RESP_CTX *resp_ctx, int *resp_size, unsigned char **resp) { int ret = 0; TS_RESP *ts_response = NULL; - char *response = NULL; BIO *query_bio = NULL; BIO *out_bio = NULL; @@ -343,7 +342,6 @@ int create_response(rfc3161_context *ct, char *query, TS_RESP_CTX *resp_ctx, end: if (!ret) { TS_RESP_free(ts_response); - response = NULL; } BIO_free_all(query_bio); return ret;