-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Use _pv
destroy functions to satisfy ASAN checks
#1630
Conversation
Current Aviator status
This PR was merged manually (without Aviator). Merging manually can negatively impact the performance of the queue. Consider using Aviator next time.
See the real-time status of this PR on the
Aviator webapp.
Use the Aviator Chrome Extension
to see the status of your PR within GitHub.
|
ASAN run for the main branch: https://github.com/igraph/rigraph/actions/runs/12274005767/job/34246019696 ASAN run for this branch: https://github.com/igraph/rigraph/actions/runs/12274094491 |
_pv
destroy functions to satisfy UBSAN checks_pv
destroy functions to satisfy ASAN checks
Both checks still fail, it's probably a different |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! You converted many more instances than I expected, but that's fine.
src/rinterface_extra.c
Outdated
@@ -620,7 +650,7 @@ igraph_error_t R_igraph_attribute_add_vertices(igraph_t *graph, igraph_integer_t | |||
val=VECTOR_ELT(attr, 2); | |||
UNPROTECT(9); | |||
} | |||
igraph_vector_int_destroy(&news); | |||
igraph_vector_int_destroy_pv(&news); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is necessary, the igraph_vector_int_destroy()
function is best here. I'll revert that part.
Thanks! |
Part of #1613.