Commit c5fff690 authored by Mark Andrews's avatar Mark Andrews Committed by Michał Kępień
Browse files

Remove now redundant check for state != NULL

(cherry picked from commit ee135d89)
parent 47c206f3
Pipeline #57713 passed with stages
in 14 minutes and 54 seconds
......@@ -2071,7 +2071,7 @@ dns_update_signaturesinc(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db,
for (i = 0; i < state->nkeys; i++)
dst_key_free(&state->zone_keys[i]);
if (state != &mystate && state != NULL) {
if (state != &mystate) {
*statep = NULL;
state->magic = 0;
isc_mem_put(diff->mctx, state, sizeof(*state));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment