> When jsm_tty_open() fails it doesn't free allocated memory and we may > have a memory leak. Fix this by freeing the allocated memory before > the return. NAK. The channel is preserved among .open() calls, so I don't think we have a leak. A later attempt to open the port will simply reuse the previously allocated rqueue. -- Gabriel Krisman Bertazi -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html