diff python/pydc/pydc.c @ 59:2725de59454a

- fixed potentially uninitialized ptr - added todo item to release GIL under certain circumstances
author Tassilo Philipp
date Tue, 22 Jun 2021 18:49:02 +0200
parents 2e8a56976bf8
children 8e905c0798c7
line wrap: on
line diff
--- a/python/pydc/pydc.c	Mon Feb 08 10:15:27 2021 +0100
+++ b/python/pydc/pydc.c	Tue Jun 22 18:49:02 2021 +0200
@@ -296,7 +296,7 @@
 static PyObject*
 pydc_call_impl(PyObject* self, PyObject* args) /* implementation, called by wrapper func pydc_call() */
 {
-	const char  *sig_ptr;
+	const char  *sig_ptr = NULL;
 	char        ch;
 	int         pos, ts;
 	void*       pfunc;