Skip to content

Commit

Permalink
Scenario: Match new/delete for regexp_compile
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads committed Nov 7, 2024
1 parent fee44f4 commit 73c4cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenario.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ message::~message()
if (regexp_compile != nullptr) {
regfree(regexp_compile);
}
free(regexp_compile);
delete regexp_compile;

free(display_str);
free(nextLabel);
Expand Down

0 comments on commit 73c4cfe

Please sign in to comment.