diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-03-10 11:29:32 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-03-10 11:29:32 +0000 |
commit | a54dbef213729c89de2d7e9b23e5a3449b77da28 (patch) | |
tree | 8164a743f2d2cbba327cd7f1dd8ae7af5ee69f52 /Modules/unicodedata.c | |
parent | 1e611c0c46755a0e670e4d07a1aca393d53a4598 (diff) | |
download | cpython-a54dbef213729c89de2d7e9b23e5a3449b77da28.tar.gz |
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 a3152c3de4..5a4378babf 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 */ |