commit | aee30144cc179ddd84e8acd3ab0abaaa3e9e7819 | [log] [tgz] |
---|---|---|
author | Joshua Haberman <jhaberman@gmail.com> | Tue Dec 28 20:27:17 2021 -0800 |
committer | Joshua Haberman <jhaberman@gmail.com> | Tue Dec 28 20:27:17 2021 -0800 |
tree | 0584e6f3eab38d523b35ba817aa650d9ff59023a | |
parent | 55a24d94d349e44f20e6d15116a9f27a58ea40ca [diff] [blame] |
Fixed a couple bugs.
diff --git a/python/message.c b/python/message.c index 9921081..77e4a15 100644 --- a/python/message.c +++ b/python/message.c
@@ -925,7 +925,7 @@ field_desc = NULL; py_val = NULL; if (!tuple) goto err; - if (!PyList_Append(list, tuple)) goto err; + if (PyList_Append(list, tuple)) goto err; Py_DECREF(tuple); tuple = NULL; }