Skip to content
Snippets Groups Projects
Commit 770ade1c authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

explicltly free-up any thanos-owned object that might be in the dlopen-ed object

Former-commit-id: bbce6f938f826cab6cf2f34ff6c0df8cf3d5cf0a
parent ec5216f9
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,9 @@ int main(int argc, char *argv[])
close(saved_stderr);
// cleanup plugin
free(argv);
free(argv);
argv=nullptr;
the_step.reset(); // explicitly get rid of the handle to the library so we can close it.
dlclose(dlhdl);
string step_retval_str(to_string(step_retval)+"\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment