diff options
| author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2009-05-12 15:14:37 +0000 |
|---|---|---|
| committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2009-05-12 15:14:37 +0000 |
| commit | 9b61a5b95e6f623ca4f7b827a19113095339a36c (patch) | |
| tree | f69f27c9253c1598da3400d58d91534b3b3f270c /sys/cam | |
| parent | 0c70e3070b96748fd2fc0ea1319aea4177b45ae8 (diff) | |
Notes
Diffstat (limited to 'sys/cam')
| -rw-r--r-- | sys/cam/cam_periph.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index 368d409c03c3..31bb24c3dbb4 100644 --- a/sys/cam/cam_periph.c +++ b/sys/cam/cam_periph.c @@ -173,6 +173,7 @@ cam_periph_alloc(periph_ctor_t *periph_ctor, xpt_unlock_buses(); if (*p_drv == NULL) { printf("cam_periph_alloc: invalid periph name '%s'\n", name); + free(periph, M_CAMPERIPH); return (CAM_REQ_INVALID); } |
