From 177aad556f4be8b6b82eec8fbf0bf4711ae32d2b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 24 Oct 2010 19:52:01 +0200 Subject: talloc: pytalloc should not depend on samba specific code metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Sun Oct 24 19:21:25 UTC 2010 on sn-devel-104 --- lib/talloc/pytalloc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/talloc/pytalloc.c b/lib/talloc/pytalloc.c index ae59b69625..d5ef919bb2 100644 --- a/lib/talloc/pytalloc.c +++ b/lib/talloc/pytalloc.c @@ -21,8 +21,7 @@ #include "replace.h" #include #include "pytalloc.h" -#include "lib/util/debug.h" -#include "lib/util/util.h" +#include /** * Simple dealloc for talloc-wrapping PyObjects @@ -30,7 +29,7 @@ void py_talloc_dealloc(PyObject* self) { py_talloc_Object *obj = (py_talloc_Object *)self; - SMB_ASSERT(talloc_unlink(NULL, obj->talloc_ctx) != -1); + assert(talloc_unlink(NULL, obj->talloc_ctx) != -1); obj->talloc_ctx = NULL; self->ob_type->tp_free(self); } -- cgit