This is an archive of the discontinued LLVM Phabricator instance.

Cleanup: nullify pointer after memory freeing
ClosedPublic

Authored by AndreyChurbanov on Jul 17 2017, 11:07 AM.

Details

Summary

Static library crashed sometimes on tests those cause library to repeatedly start up and shut down with affinity enabled (e.g. non-OMP thread creates / joins many OMP threads one by one).

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.Jul 17 2017, 11:57 AM
This revision was automatically updated to reflect the committed changes.