From: Gilchrist Dadaglo <[email protected]>
Typo leads to checking the wrong object for memory issues
---
contrib/spoa_server/ps_python.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/spoa_server/ps_python.c b/contrib/spoa_server/ps_python.c
index 468ee43..b6f4ad1 100644
--- a/contrib/spoa_server/ps_python.c
+++ b/contrib/spoa_server/ps_python.c
@@ -410,7 +410,7 @@ static int ps_python_start_worker(struct worker *w)
}
ipv6_address = PyObject_GetAttrString(module_ipaddress, "IPv6Address");
- if (ipv4_address == NULL) {
+ if (ipv6_address == NULL) {
PyErr_Print();
return 0;
}
--
2.24.3.AMZN