commit | 82cb603ed799f29e387f37fb44cdfbe98fd2e4ee | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Sat Nov 01 00:20:28 2014 -0700 |
committer | Jason Evans <jasone@canonware.com> | Sat Nov 01 00:20:28 2014 -0700 |
tree | 7a689c18b15027d14238eab9114620efc46bb918 | |
parent | d7a9bab92db5dd3acc02e4f58e95637c6338c285 [diff] |
Don't dereference NULL tdata in prof_{enter,leave}(). It is possible for the thread's tdata to be NULL late during thread destruction, so take care not to dereference a NULL pointer in such cases.