Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/dyninst/test_thread_1_mutatee.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@ int func1_1() {
pthread_join(test1threads[i], NULL);
}

/* The lock must be freed before dlclose: DYNINSTfree_thelock points into
* the RT library and is invalid once the library is unmapped. */
DYNINSTfree_thelock(&test1lock);
dlclose(RTlib);
pthread_barrier_destroy(&startup_barrier);
DYNINSTfree_thelock(&test1lock);

return subtest1err;
}
Expand Down
Loading