* Extended X interface: pixmap objects, colormap objects visual objects,
image objects, and lots of new methods.
* Added counting of allocations and deallocations of builtin types if
COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some
files.
* Bug fix in sorting lists.
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index d518f24..6661a19 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -417,12 +417,20 @@
flushline();
}
+#ifdef COUNT_ALLOCS
+extern void dump_counts PROTO((void));
+#endif
+
void
goaway(sts)
int sts;
{
cleanup();
+#ifdef COUNT_ALLOCS
+ dump_counts();
+#endif
+
#ifdef USE_THREAD
/* Other threads may still be active, so skip most of the