commit | 8fb665a51aec51020e9e40ba1c29e6d86587eb4f | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun May 25 17:59:38 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun May 25 17:59:38 2003 +0000 |
tree | f2a6752e0c48466f9cb947e1f259cfa175383952 | |
parent | 50d8b8b6ae320d08acc07601cca58cd52299ac76 [diff] [blame] |
Fix ref counts in initialization code.
diff --git a/Doc/ext/noddy2.c b/Doc/ext/noddy2.c index b1e620e..fcce2ab 100644 --- a/Doc/ext/noddy2.c +++ b/Doc/ext/noddy2.c
@@ -184,5 +184,6 @@ if (m == NULL) return; + Py_INCREF(&NoddyType); PyModule_AddObject(m, "Noddy", (PyObject *)&NoddyType); }