Fix for memory leak.

This commit is contained in:
Dr. Stephen Henson 1999-05-26 12:40:08 +00:00
parent f9073fce9b
commit f3c751067a

View File

@ -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)