summaryrefslogtreecommitdiffstats
path: root/sys/dev/mvs/mvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mvs/mvs.c')
-rw-r--r--sys/dev/mvs/mvs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mvs/mvs.c b/sys/dev/mvs/mvs.c
index 1cc0fae..a7800ec 100644
--- a/sys/dev/mvs/mvs.c
+++ b/sys/dev/mvs/mvs.c
@@ -1727,6 +1727,7 @@ mvs_issue_read_log(device_t dev)
ataio = &ccb->ataio;
ataio->data_ptr = malloc(512, M_MVS, M_NOWAIT);
if (ataio->data_ptr == NULL) {
+ xpt_free_ccb(ccb);
device_printf(dev, "Unable allocate memory for READ LOG command");
return; /* XXX */
}
OpenPOWER on IntegriCloud