FreeBSD Bugzilla – Attachment 223742 Details for
Bug 254690
ocs_fc: fix memory leak bug in ocs_scsi_io_alloc()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
ocs_scsi_io_alloc.patch (text/plain), 439 bytes, created by
Xiyu Yang
on 2021-04-01 06:48:27 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Xiyu Yang
Created:
2021-04-01 06:48:27 UTC
Size:
439 bytes
patch
obsolete
>diff --git a/sys/dev/ocs_fc/ocs_scsi.c b/sys/dev/ocs_fc/ocs_scsi.c >index c2df898bda4b..b1d98c7c0e3d 100644 >--- a/sys/dev/ocs_fc/ocs_scsi.c >+++ b/sys/dev/ocs_fc/ocs_scsi.c >@@ -201,6 +201,7 @@ ocs_scsi_io_alloc(ocs_node_t *node, ocs_scsi_io_role_e role) > > if (io->hio != NULL) { > ocs_log_err(node->ocs, "assertion failed: io->hio is not NULL\n"); >+ ocs_io_free(ocs, io); > ocs_unlock(&node->active_ios_lock); > return NULL; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254690
: 223742