Skip to content

Conversation

geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Mar 11, 2020

Fixes #3028.

@geoffw0 geoffw0 added the C++ label Mar 11, 2020
@geoffw0 geoffw0 requested a review from a team as a code owner March 11, 2020 18:17
Comment on lines +1 to +2
| test2.cpp:19:3:19:6 | call to free | There is a new/free mismatch between this free and the corresponding $@. | test2.cpp:18:12:18:18 | new | new |
| test2.cpp:26:3:26:6 | call to free | There is a new/free mismatch between this free and the corresponding $@. | test2.cpp:25:7:25:13 | new | new |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why these locations moved slightly - did you rebuild the extractor between test runs?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't explain that. I'll re-trigger the CI and merge if it's successful.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unlikely to have rebuilt the extractor, but it's likely I generated the first set of results, then tweaked the test code slightly and forgot to re-run the tests until the next commit. (and if the tests passed on here I'm not worried)

@jbj jbj merged commit 917b984 into github:master Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LGTM.com - false positive?: Mismatching new/free or malloc/delete: Placement new
3 participants