diff options
author | Volker Lendecke <vl@samba.org> | 2010-10-02 23:49:06 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-10-03 10:45:57 +0200 |
commit | c87d4e5ddbbafea6f0d2dd5062041d41e80db877 (patch) | |
tree | 6b58a7be1f021a7c9750c8552c4fe6ec107274ef | |
parent | 414cd919ffa2bdc842fc66ee2dc286448a92fc7d (diff) | |
download | samba-c87d4e5ddbbafea6f0d2dd5062041d41e80db877.tar.gz samba-c87d4e5ddbbafea6f0d2dd5062041d41e80db877.tar.bz2 samba-c87d4e5ddbbafea6f0d2dd5062041d41e80db877.zip |
s3: Remove talloc_autofree_context() from dmapi.c
This is a place where an explicit dmapi_destroy_session would be needed. But we
don't use a destructor for this.
-rw-r--r-- | source3/smbd/dmapi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/dmapi.c b/source3/smbd/dmapi.c index 8c3939f99a..e213d73e0a 100644 --- a/source3/smbd/dmapi.c +++ b/source3/smbd/dmapi.c @@ -188,8 +188,7 @@ const void *dmapi_get_current_session(void) bool dmapi_have_session(void) { if (!dmapi_ctx) { - dmapi_ctx = talloc(talloc_autofree_context(), - struct smbd_dmapi_context); + dmapi_ctx = talloc(struct smbd_dmapi_context); if (!dmapi_ctx) { exit_server("unable to allocate smbd_dmapi_context"); } |