From: Dr. Stephen Henson Date: Wed, 26 May 1999 12:40:08 +0000 (+0000) Subject: Fix for memory leak. X-Git-Tag: OpenSSL_0_9_3a~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f3c751067a696e0774a56800caa5a8793f0a608d;p=oweals%2Fopenssl.git Fix for memory leak. --- diff --git a/crypto/conf/conf.c b/crypto/conf/conf.c index 177e76a175..a55ecbb658 100644 --- a/crypto/conf/conf.c +++ b/crypto/conf/conf.c @@ -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)