summaryrefslogtreecommitdiff
path: root/usr/src/lib
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
parent8c96f987edd0f06bbeca95261948cf4d97f0450c (diff)
downloadillumos-joyent-RFD96.tar.gz
self-reviewRFD96
Diffstat (limited to 'usr/src/lib')
-rw-r--r--usr/src/lib/libc/port/mapfile-vers1
-rw-r--r--usr/src/lib/libc/port/threads/pthr_attr.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libc/port/mapfile-vers b/usr/src/lib/libc/port/mapfile-vers
index 16b9f3d7fc..c2f537f4c9 100644
--- a/usr/src/lib/libc/port/mapfile-vers
+++ b/usr/src/lib/libc/port/mapfile-vers
@@ -78,6 +78,7 @@ $add amd64
$endif
SYMBOL_VERSION ILLUMOS_0.28 {
+ protected:
pthread_attr_getname_np;
pthread_attr_setname_np;
pthread_getname_np;
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);