fix(util/lean_path): clear g_lean_path_vector before (re-)initializing it

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-07-29 10:57:20 -07:00
parent 8278700b47
commit 793b2817ec

View file

@ -167,6 +167,7 @@ void init_lean_path(char const * kernel_instance_name) {
} else {
g_lean_path = r;
}
g_lean_path_vector.clear();
g_lean_path = normalize_path(g_lean_path);
unsigned i = 0;
unsigned j = 0;