s3 onefs: Removing an incorrect TALLOC_FREE
authorAravind Srinivasan <aravind.srinivasan@isilon.com>
Thu, 14 May 2009 15:54:46 +0000 (15:54 +0000)
committerTim Prouty <tprouty@samba.org>
Tue, 19 May 2009 17:01:15 +0000 (10:01 -0700)
Signed-off-by: Tim Prouty <tprouty@samba.org>
source3/modules/onefs_open.c

index 5d7b42281c46aa23710d68d35a8485d0fbe19789..dc8bf10a948d0398e113512a0de63e268e565b92 100644 (file)
@@ -977,7 +977,6 @@ NTSTATUS onefs_open_file_ntcreate(connection_struct *conn,
                                                        create_options);
 
                                if (NT_STATUS_IS_OK(status)) {
-                                       TALLOC_FREE(lck);
                                        if (pinfo) {
                                                *pinfo = FILE_WAS_OPENED;
                                        }