pyldb: test return code before trying to talloc_steal
authorMatthieu Patou <mat@matws.net>
Sun, 3 Oct 2010 20:43:33 +0000 (00:43 +0400)
committerMatthieu Patou <mat@sn-devel-104.sn.samba.org>
Mon, 4 Oct 2010 19:42:19 +0000 (19:42 +0000)
commit9dcad792b6d5ff0481da467b1c6b4524cf462ba8
treede724a370563bb3c912d80df4f45b0f5024a48b8
parentb53fbc75acc525f2e2450370e704a62791271788
pyldb: test return code before trying to talloc_steal

Otherwise you can have an error on the talloc_steal as the req can have
been not talloced yet
source4/lib/ldb/pyldb.c