Re: [PATCH] rtlwifi: Don't leak on error in _rtl_usb_receive()

2012-12-26 Thread Larry Finger
On 12/26/2012 02:51 PM, Jesper Juhl wrote: We fail to release 'urb' if '_rtl_prep_rx_urb()' fails in _rtl_usb_receive(). This patch should take care of the leak. Signed-off-by: Jesper Juhl --- drivers/net/wireless/rtlwifi/usb.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-)

[PATCH] rtlwifi: Don't leak on error in _rtl_usb_receive()

2012-12-26 Thread Jesper Juhl
We fail to release 'urb' if '_rtl_prep_rx_urb()' fails in _rtl_usb_receive(). This patch should take care of the leak. Signed-off-by: Jesper Juhl --- drivers/net/wireless/rtlwifi/usb.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) note: compile tested only. diff --git

[PATCH] rtlwifi: Don't leak on error in _rtl_usb_receive()

2012-12-26 Thread Jesper Juhl
We fail to release 'urb' if '_rtl_prep_rx_urb()' fails in _rtl_usb_receive(). This patch should take care of the leak. Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/net/wireless/rtlwifi/usb.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) note: compile tested only.

Re: [PATCH] rtlwifi: Don't leak on error in _rtl_usb_receive()

2012-12-26 Thread Larry Finger
On 12/26/2012 02:51 PM, Jesper Juhl wrote: We fail to release 'urb' if '_rtl_prep_rx_urb()' fails in _rtl_usb_receive(). This patch should take care of the leak. Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/net/wireless/rtlwifi/usb.c |1 + 1 files changed, 1 insertions(+), 0