提交 f3c75106 编写于 作者: D Dr. Stephen Henson

Fix for memory leak.

上级 f9073fce
......@@ -358,7 +358,7 @@ char *CONF_get_string(LHASH *conf, char *section, char *name)
if (p != NULL) return(p);
}
}
vv.section=BUF_strdup("default");
vv.section="default";
vv.name=name;
v=(CONF_VALUE *)lh_retrieve(conf,(char *)&vv);
if (v != NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册