mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
tree_dup: call object_nolock on the cloned children of the new tree
This commit is contained in:
parent
ebadc9bf9e
commit
8957379319
@ -383,6 +383,7 @@ tree_dup(struct option *opt, struct option *template)
|
||||
struct option *new_opt = copy_option(option);
|
||||
|
||||
if (!new_opt) continue;
|
||||
object_nolock(new_opt, "option");
|
||||
add_to_list_end(*new, new_opt);
|
||||
new_opt->root = opt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user