diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-11-22 22:05:57 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2018-12-11 23:36:30 +0100 |
commit | d4f15df5a870381e2b6cdfd3d30b85e2c9b14cc5 (patch) | |
tree | 0a17232e59fe21629221b497c08e7abcfa18a3e6 /dlfcn/dlerror.c | |
parent | malloc: tcache double free check (diff) | |
download | glibc-d4f15df5a870381e2b6cdfd3d30b85e2c9b14cc5.tar.gz glibc-d4f15df5a870381e2b6cdfd3d30b85e2c9b14cc5.tar.bz2 glibc-d4f15df5a870381e2b6cdfd3d30b85e2c9b14cc5.zip |
Revert "malloc: tcache double free check" [BZ #23907]
This reverts commit 481a6cf0c24f02f251d7cd0b776c12d00e6b144f, the
backport of commit bcdaad21d4635931d1bd3b54a7894276925d081d on the
master branch.
(cherry picked from commit f5cc21eaeea6afbdfd543c63d2a552f141a91781)
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dlfcn/dlerror.c')
-rw-r--r-- | dlfcn/dlerror.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dlfcn/dlerror.c b/dlfcn/dlerror.c index 96bf925333..33574faab6 100644 --- a/dlfcn/dlerror.c +++ b/dlfcn/dlerror.c @@ -198,10 +198,7 @@ check_free (struct dl_action_result *rec) Dl_info info; if (_dl_addr (check_free, &info, &map, NULL) != 0 && map->l_ns == 0) #endif - { - free ((char *) rec->errstring); - rec->errstring = NULL; - } + free ((char *) rec->errstring); } } |