summaryrefslogtreecommitdiff
path: root/source3/client/smbmount.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-20 17:54:01 -0800
committerJeremy Allison <jra@samba.org>2007-11-20 17:54:01 -0800
commit3c561043dcecf038f5e06d84173b320953fa6652 (patch)
tree56f6dc31a7983e59c66677cdadc97e523f7a7df5 /source3/client/smbmount.c
parent66298d808034bb606478ff66aa156bda4e7e3f2a (diff)
downloadsamba-3c561043dcecf038f5e06d84173b320953fa6652.tar.gz
samba-3c561043dcecf038f5e06d84173b320953fa6652.tar.bz2
samba-3c561043dcecf038f5e06d84173b320953fa6652.zip
Ensure we have a talloc stackframe (found by Kukks).
Jeremy. (This used to be commit b409f1c3356a72216136411234b345666159c88b)
Diffstat (limited to 'source3/client/smbmount.c')
-rw-r--r--source3/client/smbmount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c
index 5e69cf92a3..99dc99f040 100644
--- a/source3/client/smbmount.c
+++ b/source3/client/smbmount.c
@@ -864,6 +864,7 @@ static void parse_mount_smb(int argc, char **argv)
****************************************************************************/
int main(int argc,char *argv[])
{
+ TALLOC_CTX *frame = talloc_stackframe();
char *p;
DEBUGLEVEL = 1;
@@ -940,5 +941,6 @@ static void parse_mount_smb(int argc, char **argv)
strupper_m(my_netbios_name);
init_mount();
+ TALLOC_FREE(frame);
return 0;
}