Fixed potential memory leak in destruction of fd tables.