>From 330cf090b27959b1572452e98d7e8cbdfbb1ffa2 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 25 Apr 2012 17:08:58 +0200 Subject: [PATCH 09/18] PYHBAC: Return NULL on failure The error handler would simply fall through instead of returning NULL. --- src/python/pyhbac.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/python/pyhbac.c b/src/python/pyhbac.c index 05938db9970d28e804cd08665ee657225dc6fc85..e9dce9b01b78401516b5c21141be8007b4a94aec 100644 --- a/src/python/pyhbac.c +++ b/src/python/pyhbac.c @@ -1684,6 +1684,7 @@ HbacRequest_repr(HbacRequest *self) Py_DECREF(targethost_repr); Py_DECREF(srchost_repr); Py_DECREF(format); + return NULL; } o = PyUnicode_Format(format, args); -- 1.7.7.6