Remember to free the second temporary string.
authorJeremy Allison <jra@samba.org>
Thu, 24 Feb 2011 02:32:35 +0000 (18:32 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 24 Feb 2011 02:33:13 +0000 (18:33 -0800)
(cherry picked from commit c23e7292bc6406588182f87b61186087ba472ac3)

source3/smbd/open.c

index f9c8c45b749253b6f04080f50a2ba66bc9bc44a0..0c8886d52c375d5ee4bef6f92736f5efebca5514 100644 (file)
@@ -3540,6 +3540,7 @@ NTSTATUS get_relative_fid_filename(connection_struct *conn,
 
  out:
        TALLOC_FREE(parent_fname);
+       TALLOC_FREE(new_base_name);
        return status;
 }