[s3]test_lp_load: fix "no talloc stackframe around" message
authorMichael Adam <obnox@samba.org>
Sat, 18 Oct 2008 12:52:49 +0000 (14:52 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 18 Oct 2008 13:36:17 +0000 (15:36 +0200)
gfree_loadparm() and TALLOC_FREE(frame) were in the wron order.

Michael

source3/param/test_lp_load.c

index db1bad4726a142fc12c28c0a6625eabe94843a85..1ec123e70a62cf20cc69e70ee229b35778151bfb 100644 (file)
@@ -81,8 +81,8 @@ int main(int argc, const char **argv)
 
 
 done:
-       TALLOC_FREE(frame);
        gfree_loadparm();
+       TALLOC_FREE(frame);
        return ret;
 }