Skip to content

Commit

Permalink
nfqws,tpws: fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
bol-van committed Nov 23, 2024
1 parent fedb62d commit 9c8662b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nfq/nfqws.c
Original file line number Diff line number Diff line change
Expand Up @@ -1994,8 +1994,8 @@ int main(int argc, char **argv)
}
if (bSkip)
{
dp_entry_destroy(dpl);
LIST_REMOVE(dpl,next);
dp_entry_destroy(dpl);
desync_profile_count--;
}

Expand Down
2 changes: 1 addition & 1 deletion tpws/tpws.c
Original file line number Diff line number Diff line change
Expand Up @@ -1284,8 +1284,8 @@ void parse_params(int argc, char *argv[])
}
if (bSkip)
{
dp_entry_destroy(dpl);
LIST_REMOVE(dpl,next);
dp_entry_destroy(dpl);
desync_profile_count--;
}

Expand Down

0 comments on commit 9c8662b

Please sign in to comment.