> From: Jia-Ju Bai <[email protected]>
> 
> When dev_alloc_skb or pci_dma_mapping_error in rtl8180_init_rx_ring fails,
> the memory allocated by pci_zalloc_consistent is not freed.
> 
> This patch fixes the bug by adding pci_free_consistent
> in error handling code.
> 
> Signed-off-by: Jia-Ju Bai <[email protected]>
> Signed-off-by: Julian Calaby <[email protected]>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to