[msan] Clean up extensions during msandr shutdown

Otherwise debug DynamoRIO complains at us for leaking memory.

llvm-svn: 176947
This commit is contained in:
Reid Kleckner 2013-03-13 13:59:09 +00:00
parent dfbcba5ae0
commit 2325273641

View File

@ -511,6 +511,11 @@ void event_module_unload(void *drcontext, const module_data_t *info) {
}
void event_exit() {
// Clean up so DR doesn't tell us we're leaking memory.
drsys_exit();
drutil_exit();
drmgr_exit();
if (VERBOSITY > 0)
dr_printf("==DRMSAN== DONE\n");
}