diff options
Diffstat (limited to 'drivers/scsi/libsrp.c')
-rw-r--r-- | drivers/scsi/libsrp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libsrp.c b/drivers/scsi/libsrp.c index 2742ae8a3d09..9ad38e81e343 100644 --- a/drivers/scsi/libsrp.c +++ b/drivers/scsi/libsrp.c | |||
@@ -124,6 +124,7 @@ static void srp_ring_free(struct device *dev, struct srp_buf **ring, size_t max, | |||
124 | dma_free_coherent(dev, size, ring[i]->buf, ring[i]->dma); | 124 | dma_free_coherent(dev, size, ring[i]->buf, ring[i]->dma); |
125 | kfree(ring[i]); | 125 | kfree(ring[i]); |
126 | } | 126 | } |
127 | kfree(ring); | ||
127 | } | 128 | } |
128 | 129 | ||
129 | int srp_target_alloc(struct srp_target *target, struct device *dev, | 130 | int srp_target_alloc(struct srp_target *target, struct device *dev, |