![]() | |||||||||||||
Messages in this thread Patch in this message |
How about the following patch instead, which preserves the reordering done by Al Viro? ===== drivers/serial/core.c 1.62 vs edited ===== --- 1.62/drivers/serial/core.c Fri Jun 6 01:36:47 2003 +++ edited/drivers/serial/core.c Sun Jun 8 20:59:44 2003 @@ -2192,8 +2192,8 @@ drv->tty_driver = NULL; tty_unregister_driver(p); kfree(drv->state); - kfree(drv->tty_driver->termios); - kfree(drv->tty_driver); + kfree(p->termios); + kfree(p); } struct tty_driver *uart_console_device(struct console *co, int *index) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 12:36 [W:0.440 / U:0.580 seconds] ©2003-2008 Jasper Spaans | |||||||||||||