initialize tp_free
This commit is contained in:
parent
409ba9c0f2
commit
029383e5f4
|
@ -3,7 +3,7 @@
|
||||||
* Project : miniupnp
|
* Project : miniupnp
|
||||||
* Author : Thomas BERNARD
|
* Author : Thomas BERNARD
|
||||||
* website : https://miniupnp.tuxfamily.org/
|
* website : https://miniupnp.tuxfamily.org/
|
||||||
* copyright (c) 2007-2019 Thomas Bernard
|
* copyright (c) 2007-2020 Thomas Bernard
|
||||||
* This software is subjet to the conditions detailed in the
|
* This software is subjet to the conditions detailed in the
|
||||||
* provided LICENCE file. */
|
* provided LICENCE file. */
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
@ -644,8 +644,9 @@ static PyTypeObject UPnPType = {
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
PyType_GenericNew,/*UPnP_new,*/ /* tp_new */
|
PyType_GenericNew,/*UPnP_new,*/ /* tp_new */
|
||||||
#else
|
#else
|
||||||
0,
|
0, /* tp_new */
|
||||||
#endif
|
#endif
|
||||||
|
0, /* tp_free */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* module methods */
|
/* module methods */
|
||||||
|
|
Loading…
Reference in New Issue