diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-08-17 08:57:58 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-08-17 08:57:58 +0000 |
commit | 8db28234c548cc4a381f93981df607ffe816c664 (patch) | |
tree | d50609600a1bd897b867c291037882e277c43cd6 /source3/smbd | |
parent | 9ed5f60a5b385d01e441c53318295fd32fefe0d6 (diff) | |
download | samba-8db28234c548cc4a381f93981df607ffe816c664.tar.gz samba-8db28234c548cc4a381f93981df607ffe816c664.tar.bz2 samba-8db28234c548cc4a381f93981df607ffe816c664.zip |
OK, so not freeing these was a mistake. I'll try to be less exuberent next
time :-)
(This used to be commit 8c3cf2db95a0fcf48b21274cac93f13abb42d4bf)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/service.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 524b647b5e..edac97194e 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -546,6 +546,7 @@ connection_struct *make_connection(char *service,char *user,char *password, int *ecode = ERRaccess; DEBUG(0,( "make_connection: connection to %s denied due to security descriptor.\n", service )); + conn_free(conn); return NULL; } else { conn->read_only = True; @@ -556,6 +557,7 @@ connection_struct *make_connection(char *service,char *user,char *password, int if (!vfs_init(conn)) { DEBUG(0, ("vfs_init failed for service %s\n", lp_servicename(SNUM(conn)))); + conn_free(conn); return NULL; } |