initialize tp_free

This commit is contained in:
Thomas Bernard 2020-06-05 21:13:19 +02:00
parent 409ba9c0f2
commit 029383e5f4
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
1 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
* Project : miniupnp
* Author : Thomas BERNARD
* 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
* provided LICENCE file. */
#include <Python.h>
@ -644,8 +644,9 @@ static PyTypeObject UPnPType = {
#ifndef _WIN32
PyType_GenericNew,/*UPnP_new,*/ /* tp_new */
#else
0,
0, /* tp_new */
#endif
0, /* tp_free */
};
/* module methods */