Squash a bunch of leaks

This commit is contained in:
ridiculousfish
2012-02-21 19:33:11 -08:00
parent e074ad4807
commit 5fe7c065dc
6 changed files with 31 additions and 35 deletions

View File

@@ -765,6 +765,7 @@ void history_t::add_with_file_detection(const wcstring &str)
}
}
}
tok_destroy(&tokenizer);
if (! potential_paths.empty()) {
/* We have some paths. Make a context. */