From 07d0ab092dd916f90311925b377763be831dc069 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 08:19:41 +0000 Subject: Apply patch bash-4.3-memleak-lc_all.patch patch_name: bash-4.3-memleak-lc_all.patch present_in_specfile: true location_in_specfile: 44 --- diff --git a/locale.c b/locale.c index a199cdf..ffc7b5c 100644 --- a/locale.c +++ b/locale.c @@ -77,8 +77,6 @@ set_default_locale () { #if defined (HAVE_SETLOCALE) default_locale = setlocale (LC_ALL, ""); - if (default_locale) - default_locale = savestring (default_locale); #endif /* HAVE_SETLOCALE */ bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE);