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:
parent
8278700b47
commit
793b2817ec
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ void init_lean_path(char const * kernel_instance_name) {
|
||||||
} else {
|
} else {
|
||||||
g_lean_path = r;
|
g_lean_path = r;
|
||||||
}
|
}
|
||||||
|
g_lean_path_vector.clear();
|
||||||
g_lean_path = normalize_path(g_lean_path);
|
g_lean_path = normalize_path(g_lean_path);
|
||||||
unsigned i = 0;
|
unsigned i = 0;
|
||||||
unsigned j = 0;
|
unsigned j = 0;
|
||||||
|
|
Loading…
Reference in a new issue