1 Star 0 Fork 31

jlwwlsqc / bash

forked from src-openEuler / bash 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bash-4.3-memleak-lc_all.patch 617 Bytes
一键复制 编辑 原始数据 按行查看 历史
JeanLeo 提交于 2021-05-31 20:38 . upgrade to 5.1
From 4ac4f17be40d74aa997ba7b4691496cdcc8a2e84 Mon Sep 17 00:00:00 2001
From: liujian <liujianliu.liu@huawei.com>
Date: Mon, 31 May 2021 22:53:51 +0800
Subject: [PATCH] bash-4.3-memleak-lc_all
---
locale.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/locale.c b/locale.c
index 17ccc58..a6c07a3 100644
--- a/locale.c
+++ b/locale.c
@@ -78,8 +78,6 @@ set_default_locale ()
{
#if defined (HAVE_SETLOCALE)
default_locale = setlocale (LC_ALL, "");
- if (default_locale)
- default_locale = savestring (default_locale);
#else
default_locale = savestring ("C");
#endif /* HAVE_SETLOCALE */
--
2.23.0
1
https://gitee.com/jlwwlsqc/bash.git
git@gitee.com:jlwwlsqc/bash.git
jlwwlsqc
bash
bash
master

搜索帮助