diff options
| author | Federico Di Gregorio <fog@initd.org> | 2005-04-10 03:05:39 +0000 |
|---|---|---|
| committer | Federico Di Gregorio <fog@initd.org> | 2005-04-10 03:05:39 +0000 |
| commit | 4805a935690b1d618247267318a0ef7aa06c2378 (patch) | |
| tree | e063adcbaafe99c8cd0f111c0f8412701623b955 /psycopg/adapter_binary.c | |
| parent | 728b4788de8b70bf809103e944e84c02d8ba608b (diff) | |
| download | psycopg2-4805a935690b1d618247267318a0ef7aa06c2378.tar.gz | |
mingw patch from Daniele Varazzo.
Diffstat (limited to 'psycopg/adapter_binary.c')
| -rw-r--r-- | psycopg/adapter_binary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/adapter_binary.c b/psycopg/adapter_binary.c index 7aa775d..37ea50f 100644 --- a/psycopg/adapter_binary.c +++ b/psycopg/adapter_binary.c @@ -315,7 +315,7 @@ PyTypeObject binaryType = { 0, /*tp_dictoffset*/ binary_init, /*tp_init*/ - PyType_GenericAlloc, /*tp_alloc*/ + 0, /*tp_alloc will be set to PyType_GenericAlloc in module init*/ binary_new, /*tp_new*/ (freefunc)binary_del, /*tp_free Low-level free-memory routine */ 0, /*tp_is_gc For PyObject_IS_GC */ |
