summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/threads
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-08-29 14:02:00 +0000
committerJohn Levon <john.levon@joyent.com>2018-08-29 14:02:00 +0000
commita90a1259342ecea6f70c0fd7f91981ff1fc9516e (patch)
tree713278eab996777f87e0e1f3c024bcba4c5285e1 /usr/src/lib/libc/port/threads
parent8c96f987edd0f06bbeca95261948cf4d97f0450c (diff)
downloadillumos-joyent-RFD96.tar.gz
self-reviewRFD96
Diffstat (limited to 'usr/src/lib/libc/port/threads')
-rw-r--r--usr/src/lib/libc/port/threads/pthr_attr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/src/lib/libc/port/threads/pthr_attr.c b/usr/src/lib/libc/port/threads/pthr_attr.c
index 95186cfcfc..5c64dd80bc 100644
--- a/usr/src/lib/libc/port/threads/pthr_attr.c
+++ b/usr/src/lib/libc/port/threads/pthr_attr.c
@@ -83,7 +83,6 @@ pthread_attr_destroy(pthread_attr_t *attr)
{
if (attr == NULL || attr->__pthread_attrp == NULL)
return (EINVAL);
-
lfree(attr->__pthread_attrp, sizeof (thrattr_t));
attr->__pthread_attrp = NULL;
return (0);