From 2ddc3a280e14858ead92deca153588fe9f454e76 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 30 Jul 2012 14:41:42 +0200 Subject: s3: Fix Coverity ID 710827 Resource leak Signed-off-by: Stefan Metzmacher --- source3/smbd/vfs.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit