Skip to content

Commit

Permalink
fix urb leak on failure path in usb_8dev_start()
Browse files Browse the repository at this point in the history
  • Loading branch information
krumboeck committed Jul 28, 2013
1 parent 1ab9d95 commit 27b92f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usb_8dev.c
Expand Up @@ -781,6 +781,7 @@ static int usb_8dev_start(struct usb_8dev_priv *priv)
usb_unanchor_urb(urb);
usb_free_coherent(priv->udev, RX_BUFFER_SIZE, buf,
urb->transfer_dma);
usb_free_urb(urb);
break;
}

Expand Down

0 comments on commit 27b92f2

Please sign in to comment.