summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/vfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 349f0a0b2f..474e476f3d 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -1086,6 +1086,7 @@ NTSTATUS check_reduced_name_with_privilege(connection_struct *conn,
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(priv_paths);
}
+ TALLOC_FREE(dir_name);
return status;
}