Fix memleak during Quick Mode in case no SPI can be allocated from kernel.