Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145057419
D26143.id76057.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
623 B
Referenced Files
None
Subscribers
None
D26143.id76057.diff
View Options
Index: sys/cam/ctl/ctl_frontend_ioctl.c
===================================================================
--- sys/cam/ctl/ctl_frontend_ioctl.c
+++ sys/cam/ctl/ctl_frontend_ioctl.c
@@ -226,7 +226,7 @@
req->status = CTL_LUN_ERROR;
snprintf(req->error_str, sizeof(req->error_str),
"ctl_port_register() failed with error %d", retval);
- free(port, M_CTL);
+ free(cfi, M_CTL);
return;
}
@@ -247,7 +247,7 @@
req->status = CTL_LUN_ERROR;
snprintf(req->error_str, sizeof(req->error_str),
"make_dev_s() failed with error %d", retval);
- free(port, M_CTL);
+ free(cfi, M_CTL);
return;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 16, 12:11 PM (10 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28777860
Default Alt Text
D26143.id76057.diff (623 B)
Attached To
Mode
D26143: Fix calls to free with the wrong pointer
Attached
Detach File
Event Timeline
Log In to Comment