|
@@ -455,7 +455,7 @@ static void init_shadow_tids(struct ipath_devdata *dd)
|
|
if (!addrs) {
|
|
if (!addrs) {
|
|
ipath_dev_err(dd, "failed to allocate shadow dma handle "
|
|
ipath_dev_err(dd, "failed to allocate shadow dma handle "
|
|
"array, no expected sends!\n");
|
|
"array, no expected sends!\n");
|
|
- vfree(dd->ipath_pageshadow);
|
|
|
|
|
|
+ vfree(pages);
|
|
dd->ipath_pageshadow = NULL;
|
|
dd->ipath_pageshadow = NULL;
|
|
return;
|
|
return;
|
|
}
|
|
}
|