Commit ee135d89 authored by Mark Andrews's avatar Mark Andrews
Browse files

Remove now redundant check for state != NULL

parent 51f08d20
...@@ -2183,7 +2183,7 @@ failure: ...@@ -2183,7 +2183,7 @@ failure:
dst_key_free(&state->zone_keys[i]); dst_key_free(&state->zone_keys[i]);
} }
if (state != &mystate && state != NULL) { if (state != &mystate) {
*statep = NULL; *statep = NULL;
state->magic = 0; state->magic = 0;
isc_mem_put(diff->mctx, state, sizeof(*state)); 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