From 68be9a820059ee96dd26c527efd7c14e679d3f2c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 15 Nov 2007 14:19:52 -0800 Subject: More pstring removal. This one was tricky. I had to add one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d) --- source3/web/swat.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/web/swat.c') diff --git a/source3/web/swat.c b/source3/web/swat.c index 7d74fa9d71f..e9ed0ded547 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -1368,6 +1368,7 @@ const char *lang_msg_rotate(const char *msgid) POPT_COMMON_SAMBA POPT_TABLEEND }; + TALLOC_CTX *frame = talloc_stackframe(); fault_setup(NULL); umask(S_IWGRP | S_IWOTH); @@ -1454,6 +1455,8 @@ const char *lang_msg_rotate(const char *msgid) } print_footer(); + + TALLOC_FREE(frame); return 0; } -- cgit