X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fntfs-3g_capture.c;h=439d17a61aa98c7931b9b59646427f62aa72ac6d;hp=de472327cec5df0d0f335a11afd87fea31d12d22;hb=fd451e930fe11d94dc51700f67db84e1055fe917;hpb=b87b3beaacd32c045ab77dc56c6b90677d882830 diff --git a/src/ntfs-3g_capture.c b/src/ntfs-3g_capture.c index de472327..439d17a6 100644 --- a/src/ntfs-3g_capture.c +++ b/src/ntfs-3g_capture.c @@ -607,8 +607,7 @@ filldir(void *_ctx, const ntfschar *name, const int name_nchars, ret = ntfs_3g_build_dentry_tree_recursive(&child, mref, ctx->path, path_len, name_type, ctx->volume, ctx->params); - if (child) - dentry_add_child(ctx->parent, child); + attach_scanned_tree(ctx->parent, child, ctx->params->blob_table); out_free_mbs_name: FREE(mbs_name); out: