Skip to content

Commit

Permalink
add test: raptor-mismatched-memory-management-cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Jul 17, 2023
1 parent 5c6aa7d commit 870282d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions t3sts/semgrep_rules/delete-this.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
void RedeemOptedOutConfirmation::Destroy() {
// ok: raptor-mismatched-memory-management-cpp
delete this;
}

0 comments on commit 870282d

Please sign in to comment.