This patch fixes #11, in which Tieske has reported, that in case luaL_checkstring() fails, there would still remain struct rs232_port_t allocated, thus possibly producing unwanted memory leak. Signed-off-by: Petr Štetiar <ynezz@true.cz>