summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-07-14 22:06:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:21 -0500
commit2203228c791761bcab07961da725488636bee8df (patch)
tree2245b08d76f4d9d95f4fc97361964cc8f5a3b15d /source3/modules
parent5b474afa74697321a24e952c63e60bcb1e84dced (diff)
downloadsamba-2203228c791761bcab07961da725488636bee8df.tar.gz
samba-2203228c791761bcab07961da725488636bee8df.tar.bz2
samba-2203228c791761bcab07961da725488636bee8df.zip
r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some pstrings.
Volker (This used to be commit c5e393d5eda4e13a844171d9ff319d1f1bac3d84)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_recycle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c
index cb5eaffa54..4ffd683bfd 100644
--- a/source3/modules/vfs_recycle.c
+++ b/source3/modules/vfs_recycle.c
@@ -386,7 +386,7 @@ static int recycle_unlink(vfs_handle_struct *handle, const char *file_name)
BOOL exist;
int rc = -1;
- repository = alloc_sub_advanced(lp_servicename(SNUM(conn)),
+ repository = talloc_sub_advanced(NULL, lp_servicename(SNUM(conn)),
conn->user,
conn->connectpath, conn->gid,
get_current_username(),
@@ -534,7 +534,7 @@ done:
SAFE_FREE(path_name);
SAFE_FREE(temp_name);
SAFE_FREE(final_name);
- SAFE_FREE(repository);
+ TALLOC_FREE(repository);
return rc;
}