s4: torture: Remove the last talloc_autofree_context() from source4/torture/*.c
authorJeremy Allison <jra@samba.org>
Mon, 24 Apr 2017 23:40:37 +0000 (16:40 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 5 May 2017 17:47:50 +0000 (19:47 +0200)
commit825d00df19f32845a66b080354824fada946d620
tree69ee8ffb29ed52c79663c1d61891075f2b821e0f
parent911fdd8ca0a0a1ba6748ff00a3327073a0611bda
s4: torture: Remove the last talloc_autofree_context() from source4/torture/*.c

Allocate the saved packets off the NULL context instead, and
use a new function free_received_packets() to clear out the
received_packets list.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May  5 19:47:50 CEST 2017 on sn-devel-144
source4/torture/rpc/spoolss_notify.c