Re: rsi: Fix possible leak when loading firmware

2015-08-25 Thread Kalle Valo
Commit 5d5cd85ff441 (rsi: Fix failure to load firmware after memory leak fix and fix the leak) also added a check on the allocation of DMA-accessible memory that may directly return. In that case the already allocated firmware data is leaked. Make sure the data is always freed correctly.

[PATCH] rsi: Fix possible leak when loading firmware

2015-08-21 Thread Christian Engelmayer
Commit 5d5cd85ff441 (rsi: Fix failure to load firmware after memory leak fix and fix the leak) also added a check on the allocation of DMA-accessible memory that may directly return. In that case the already allocated firmware data is leaked. Make sure the data is always freed correctly. Detected