git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
500d703
)
s3:smbd/close: use talloc_get_type_abort() as private_data can't be NULL
author
Stefan Metzmacher
<metze@samba.org>
Wed, 14 Dec 2011 08:50:24 +0000
(09:50 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 14 Dec 2011 11:00:07 +0000
(12:00 +0100)
metze
source3/smbd/close.c
patch
|
blob
|
history
diff --git
a/source3/smbd/close.c
b/source3/smbd/close.c
index 09d8905c17cd7f4fd64c69a0ccf31b6acf323913..9eedaf9e66bdd2ad81d0a6f506cef45200a5534b 100644
(file)
--- a/
source3/smbd/close.c
+++ b/
source3/smbd/close.c
@@
-1137,13
+1137,9
@@
void msg_close_file(struct messaging_context *msg_ctx,
files_struct *fsp = NULL;
struct share_mode_entry e;
struct smbd_server_connection *sconn =
- talloc_get_type(private_data,
+ talloc_get_type
_abort
(private_data,
struct smbd_server_connection);
- if (sconn == NULL) {
- return;
- }
-
message_to_share_mode_entry(&e, (char *)data->data);
if(DEBUGLVL(10)) {