oops
This commit is contained in:
parent
e8f00f4111
commit
e645137476
1 changed files with 5 additions and 0 deletions
|
|
@ -680,6 +680,11 @@ xl_node_t** xl_get_path(xl_node_t* node, const char* path){
|
|||
if(old == 0) break;
|
||||
}
|
||||
}
|
||||
|
||||
if(r[0] == NULL){
|
||||
free(r);
|
||||
r = NULL;
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue