Don't free the MacOS_Splash() dialog twice...
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index 3cf11a0..bafcab8 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -502,15 +502,17 @@
 MacOS_splash(PyObject *self, PyObject *args)
 {
 	int resid = -1;
-	static DialogPtr curdialog;
+	static DialogPtr curdialog = NULL;
 	WindowRef theWindow;
 	CGrafPtr thePort;
 	short xpos, ypos, width, height, swidth, sheight;
 	
 	if (!PyArg_ParseTuple(args, "|i", &resid))
 		return NULL;
-	if (curdialog)
+	if (curdialog) {
 		DisposeDialog(curdialog);
+		curdialog = NULL;
+	}
 		
 	if ( resid != -1 ) {
 		curdialog = GetNewDialog(resid, NULL, (WindowPtr)-1);