Message ID | 20110203115355.GA5246@calypso.voltaire.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/opensm/opensm/osm_console_io.c b/opensm/opensm/osm_console_io.c index 0a15313..1205a5f 100644 --- a/opensm/opensm/osm_console_io.c +++ b/opensm/opensm/osm_console_io.c @@ -130,8 +130,10 @@ int cio_open(osm_console_t * p_oct, int new_fd, osm_log_t * p_log) "Console connection aborted: %s (%s)\n", p_oct->client_hn, p_oct->client_ip); close(new_fd); + free(p_line); return -1; } + free(p_line); } p_oct->in_fd = new_fd; p_oct->out_fd = p_oct->in_fd;