Remove now redundant check for state != NULL
(cherry picked from commit ee135d8946)
This commit is contained in:
committed by
Michał Kępień
parent
a452798af4
commit
328e7474d2
@@ -2183,7 +2183,7 @@ failure:
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user