woops these strings aren't kept around, free them
diff --git a/Modules/main.c b/Modules/main.c
index 95fae17..5ae82ef 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -417,6 +417,7 @@
 				   "not enough memory to copy PYTHONWARNINGS");
 			mbstowcs(warning, buf, len);
 			PySys_AddWarnOption(warning);
+			free(warning);
 		}
 	}