multi-thread leak

This commit is contained in:
James Cherry 2020-08-30 21:35:15 -07:00
parent f65590f8f2
commit 916072066d
2 changed files with 7 additions and 3 deletions

View File

@ -515,9 +515,11 @@ install(DIRECTORY include/sta DESTINATION include)
################################################################
add_custom_target(tags etags -o TAGS
add_custom_target(sta_tags etags -o TAGS
${STA_SOURCE}
*/*.hh include/sta/*.hh
${STA_TCL_FILES} ${SWIG_TCL_FILES}
*/*.hh
include/sta/*.hh
${STA_TCL_FILES}
${SWIG_TCL_FILES}
WORKING_DIRECTORY ${STA_HOME}
)

View File

@ -189,6 +189,8 @@ BfsIterator::visitParallel(Level to_level,
level_vertices.clear();
}
}
for (VertexVisitor *visitor : visitors)
delete visitor;
}
}
return visit_count;