Fix for memory leak.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 26 May 1999 12:40:08 +0000 (12:40 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 26 May 1999 12:40:08 +0000 (12:40 +0000)
crypto/conf/conf.c

index 177e76a175ead44f923da00014c25b0c4be1ac66..a55ecbb6587a8521b2ce31df80d5019b23a22d19 100644 (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)