Commit fb827d0a authored by Tarun Prabhu's avatar Tarun Prabhu

Merge branch 'master' of tarunp@git-public.flux.utah.edu:/flux/git/users/tarunp/emulab-devel

parents 1a81c5fe 21f4a444
......@@ -195,7 +195,7 @@ int parse_advertisement(tb_pgraph &pg, tb_sgraph &sg, char *filename) {
* All done, clean up memory
*/
// XMLPlatformUtils::Terminate();
free(rspecParser);
delete rspecParser;
return 0;
}
......
......@@ -201,7 +201,7 @@ int parse_request(tb_vgraph &vg, char *filename) {
* All done, clean up memory
*/
// XMLPlatformUtils::Terminate();
free(rspecParser);
delete rspecParser;
return 0;
}
......
......@@ -28,7 +28,7 @@ rspec_parser :: rspec_parser (int type)
rspec_parser :: ~rspec_parser ()
{
free(this->emulabExtensions);
delete this->emulabExtensions;
}
struct link_interface rspec_parser :: getIface (const DOMElement* tag)
......
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