Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143082720
D43328.id132493.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
379 B
Referenced Files
None
Subscribers
None
D43328.id132493.diff
View Options
diff --git a/lib/libthr/thread/thr_attr.c b/lib/libthr/thread/thr_attr.c
--- a/lib/libthr/thread/thr_attr.c
+++ b/lib/libthr/thread/thr_attr.c
@@ -551,7 +551,7 @@
return (EINVAL);
}
if (attr->cpuset == NULL) {
- attr->cpuset = calloc(1, kern_size);
+ attr->cpuset = malloc(kern_size);
if (attr->cpuset == NULL)
return (errno);
attr->cpusetsize = kern_size;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 26, 6:56 PM (12 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28042602
Default Alt Text
D43328.id132493.diff (379 B)
Attached To
Mode
D43328: libhtr: pthread_attr_setaffinity_np(): Replace calloc() with malloc()
Attached
Detach File
Event Timeline
Log In to Comment