diff options
-rw-r--r-- | drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c index 0ff89c0..3cbf6a8 100644 --- a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c @@ -1083,7 +1083,7 @@ u16 init_ft1000_netdev(struct ft1000_device *ft1000dev) err_free: - list_for_each_safe(cur, tmp, &pdpram_blk->list) { + list_for_each_safe(cur, tmp, &freercvpool) { pdpram_blk = list_entry(cur, DPRAM_BLK, list); list_del(&pdpram_blk->list); kfree(pdpram_blk->pbuffer); |