Fix an invalid free in fifo-test