[client] Free default input config plist

Yet another memory leak.
This commit is contained in:
Bill Currie 2022-05-12 19:43:23 +09:00
parent 4defba8251
commit ccb56c93e6

View file

@ -456,7 +456,9 @@ CL_Legacy_Init (void)
OK_Init ();
Cmd_AddCommand ("bind", cl_bind_f, "compatibility wrapper for in_bind");
Cmd_AddCommand ("unbind", cl_unbind_f, "compatibility wrapper for in_bind");
IN_LoadConfig (PL_GetPropertyList (default_input_config, 0));
plitem_t *cfg = PL_GetPropertyList (default_input_config, 0);
IN_LoadConfig (cfg);
PL_Free (cfg);
}
void