about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/python_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python_api.c b/src/plugins/python_api.c
index 8ea54514..2ccd672b 100644
--- a/src/plugins/python_api.c
+++ b/src/plugins/python_api.c
@@ -196,7 +196,7 @@ python_api_register_command(PyObject* self, PyObject* args)
             free(c_synopsis[i++]);
         }
         i = 0;
-        while (c_arguments[i] != NULL && c_arguments[i][0] != NULL) {
+        while (c_arguments[i][0] != NULL) {
             free(c_arguments[i][0]);
             free(c_arguments[i][1]);
             i++;