ref: ab06b0ebe671252f7fc1b517d2c2d3f1f00ee5bc
parent: 6a05b33c191ac376e4b1d9e50c1b938ddb1db4f2
author: qwx <>
date: Wed Sep 20 00:08:58 EDT 2017
in: check for nil pointer before chanfree shutdown can occur before input stuff is initialized (e.g. when gamedir is empty)
--- a/in.c
+++ b/in.c
@@ -325,7 +325,8 @@
void
IN_Shutdown(void)
{
- chanfree(inchan);
+ if(inchan != nil)
+ chanfree(inchan);
IN_Grabm(0);
}