Commit 3bc89da4 authored by Leigh B Stoller's avatar Leigh B Stoller

Free massive libxml structure (rspec) when we are done with it, in case

this is the cause of the perl core dumps in the py-xml code (according
to the core file). Seems to help but so might a different butterfly. The
core dump was happening in the child we fork to run snmpit in parallel
with os_setup.
parent 0705ee87
#!/usr/bin/perl -wT
# Copyright (c) 2008-2017 University of Utah and the Flux Group.
# Copyright (c) 2008-2018 University of Utah and the Flux Group.
......@@ -554,6 +554,9 @@ sub CreateSliver($)
# expiration goes in.
my $sliver_manifest = $aggregate->GetManifest(1);
# Free this possibly massive XML structure, we do not need it anymore.
undef $rspec;
# At this point we want to return and let the startsliver proceed
# in the background. Parent never returns, just the child.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment