decref results of PyStr_FromString
authorNoel Power <noel.power@suse.com>
Wed, 23 Jan 2019 18:08:58 +0000 (18:08 +0000)
committerNoel Power <npower@samba.org>
Thu, 7 Feb 2019 12:44:30 +0000 (13:44 +0100)
commite29c34942dcc29721f8f3dc8dbb58a18afda1e60
treee24953b3049c1b741b4ea6cd27c36ee5c136e5ab
parent85b7574b91f3dfcf751de8ae81876dc64fc5e686
decref results of PyStr_FromString

Where we create temporary objects (which are added to containers)
these objects already get there ref count incremented. In this case
we need to decref those objects to ensure they are released.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/param/provision.c