diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-03-10 11:29:32 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-03-10 11:29:32 (GMT) |
commit | 0e2f9b2dfb3b9241e6427c8e196881cb348b6e72 (patch) | |
tree | 1b6ac9f68d8fc468d42b8d8122f1bf29bafaadce /Modules/unicodedata.c | |
parent | 5bd7c0229826bc8b71879a3600a34d21045bc031 (diff) | |
download | cpython-0e2f9b2dfb3b9241e6427c8e196881cb348b6e72.zip cpython-0e2f9b2dfb3b9241e6427c8e196881cb348b6e72.tar.gz cpython-0e2f9b2dfb3b9241e6427c8e196881cb348b6e72.tar.bz2 |
Fix refcounting bug.
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r-- | Modules/unicodedata.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c index a3152c3..5a4378b 100644 --- a/Modules/unicodedata.c +++ b/Modules/unicodedata.c @@ -1186,6 +1186,7 @@ initunicodedata(void) return; PyModule_AddStringConstant(m, "unidata_version", UNIDATA_VERSION); + Py_INCREF(&UCD_Type); PyModule_AddObject(m, "UCD", (PyObject*)&UCD_Type); /* Previous versions */ |