From b1b61ef8ddfea9fab8792f26784d28f17e47f14b Mon Sep 17 00:00:00 2001 From: Packit Date: Sep 17 2020 16:37:14 +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);