Skip to content

Commit

Permalink
Fixed a memory leak (Bjorn Van Tilt <bjorn.vantilt@gmail.com>)
Browse files Browse the repository at this point in the history
  • Loading branch information
krumboeck committed Mar 29, 2014
1 parent 27b92f2 commit 7a540c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usb_8dev.c
Expand Up @@ -700,8 +700,8 @@ static netdev_tx_t usb_8dev_start_xmit(struct sk_buff *skb,
return NETDEV_TX_OK;

nofreecontext:
usb_unanchor_urb(urb);
usb_free_coherent(priv->udev, size, buf, urb->transfer_dma);
usb_free_urb(urb);

netdev_warn(netdev, "couldn't find free context");

Expand Down

0 comments on commit 7a540c2

Please sign in to comment.