detect: remove redundant null setting

de_ctx->dport_hash_table is already set to NULL in the fn
DetectPortHashFree which is called right before this setting.
Remove the redundant setting.
pull/9964/head
Shivani Bhardwaj 3 years ago committed by Victor Julien
parent 6076b9e2f0
commit 945ec4bc0a

@ -1244,7 +1244,6 @@ static DetectPort *RulesGroupByPorts(DetectEngineCtx *de_ctx, uint8_t ipproto, u
BUG_ON(r == -1);
}
DetectPortHashFree(de_ctx);
de_ctx->dport_hash_table = NULL;
SCLogDebug("rules analyzed");

Loading…
Cancel
Save