Skip to content

Commit 96a9ca9

Browse files
committed
Fix the location of dlclose.
1 parent 2bb223e commit 96a9ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libunwind/src/UnwindCursor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2150,8 +2150,8 @@ bool UnwindCursor<A, R>::getInfoFromTBTable(pint_t pc, R &registers) {
21502150
dlsym(libHandle, "__xlcxx_personality_v0"));
21512151
if (xlcPersonalityV0 == NULL) {
21522152
_LIBUNWIND_TRACE_UNWINDING("dlsym() failed with errno=%d\n", errno);
2153-
assert(0 && "dlsym() failed");
21542153
dlclose(libHandle);
2154+
assert(0 && "dlsym() failed");
21552155
}
21562156
errno = saveErrno;
21572157
}

0 commit comments

Comments
 (0)