mirror of
https://github.com/kakwa/uts-server
synced 2025-01-26 05:17:26 +01:00
some code cleaning
This commit is contained in:
parent
026e362bda
commit
1e23814dfd
@ -323,7 +323,6 @@ int create_response(rfc3161_context *ct, char *query, TS_RESP_CTX *resp_ctx,
|
|||||||
int *resp_size, unsigned char **resp) {
|
int *resp_size, unsigned char **resp) {
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
TS_RESP *ts_response = NULL;
|
TS_RESP *ts_response = NULL;
|
||||||
char *response = NULL;
|
|
||||||
BIO *query_bio = NULL;
|
BIO *query_bio = NULL;
|
||||||
BIO *out_bio = NULL;
|
BIO *out_bio = NULL;
|
||||||
|
|
||||||
@ -343,7 +342,6 @@ int create_response(rfc3161_context *ct, char *query, TS_RESP_CTX *resp_ctx,
|
|||||||
end:
|
end:
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
TS_RESP_free(ts_response);
|
TS_RESP_free(ts_response);
|
||||||
response = NULL;
|
|
||||||
}
|
}
|
||||||
BIO_free_all(query_bio);
|
BIO_free_all(query_bio);
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user