Skip to content

Commit

Permalink
SQUASH
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Jan 27, 2025
1 parent c382890 commit 75975d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/detect-engine-prefilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,8 @@ int PrefilterSetupRuleGroup(DetectEngineCtx *de_ctx, SigGroupHead *sgh)
add->sigs[add->sigs_cnt].value = app->alproto;
add->sigs_cnt++;

int r = HashListTableAdd(tx_engines_hash, add, 0);
if (r != 0) {
int ret = HashListTableAdd(tx_engines_hash, add, 0);
if (ret != 0) {
SCFree(add->sigs);
SCFree(add);
goto error;
Expand Down

0 comments on commit 75975d8

Please sign in to comment.