summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/talloc/pytalloc.c5
1 files changed, 2 insertions, 3 deletions
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 <talloc.h>
#include "pytalloc.h"
-#include "lib/util/debug.h"
-#include "lib/util/util.h"
+#include <assert.h>
/**
* 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);
}