aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mvs
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-06-05 08:21:18 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-06-05 08:21:18 +0000
commitde29bf5e98bafdd61b7092ab8f322d854e1265a5 (patch)
tree752be583d6e1afec9ed650c7a80c12aaf1285238 /sys/dev/mvs
parent8d659f349e25875d976c76fb1753d6faabf4423e (diff)
Notes
Diffstat (limited to 'sys/dev/mvs')
-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 1cc0fae21956..a7800ec689bc 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 */
}