summaryrefslogtreecommitdiff
path: root/gi/pygi-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'gi/pygi-private.h')
-rw-r--r--gi/pygi-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gi/pygi-private.h b/gi/pygi-private.h
index 1f59fdf..97eced5 100644
--- a/gi/pygi-private.h
+++ b/gi/pygi-private.h
@@ -51,6 +51,7 @@ G_BEGIN_DECLS
} \
} \
PyErr_Restore(py_error_type, py_error_value, py_error_traceback); \
+ Py_DECREF(py_error_prefix); \
} \
} G_STMT_END