1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04:00

tree_dup: call object_nolock on the cloned children of the new tree

This commit is contained in:
Miciah Dashiel Butler Masters 2006-10-11 16:50:49 +00:00 committed by Miciah Dashiel Butler Masters
parent ebadc9bf9e
commit 8957379319

View File

@ -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;