From: Michael Adam Date: Sat, 18 Oct 2008 12:51:25 +0000 (+0200) Subject: [s3]testparm: prevent "no stackframe around" warning. X-Git-Tag: samba-4.0.0alpha6~778^2~38^2~3 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=15f0a4eadb0f8f32a6b997b33ec4e316ada4eebf [s3]testparm: prevent "no stackframe around" warning. gfree_loadparm and TALLOC_FREE(frame) were in the wrong order. Michael --- diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 05682efe5dc..da129cf7c04 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -436,8 +436,8 @@ rameter is ignored when using CUPS libraries.\n", } done: - TALLOC_FREE(frame); gfree_loadparm(); + TALLOC_FREE(frame); return ret; }