Fix for invalid free call on query_out struct trigger by iRODS
returning CAT_NO_ROWS_FOUND when it had just found some result rows!