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 03:17:49 +0000 (04:17 +0100)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 24 04:17:49 CET 2011 on sn-devel-104

source3/smbd/open.c

index 56c7d03a2c018993d17b598d13de35e1408fcaca..cd3fb06f25a82d523c8339d2259e61cea6ba09a8 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;
 }