commit | c4ef5ff1128d1ba19dd8e79321ec87a62d389fa3 | [log] [tgz] |
---|---|---|
author | Matt Braithwaite <mab@google.com> | Thu May 21 17:56:38 2015 -0700 |
committer | Adam Langley <agl@google.com> | Mon Aug 24 22:08:08 2015 +0000 |
tree | 90b07802f2f4e3cdb8e2a40628503f1536c1f715 | |
parent | 50485c7c0c93256df52f1845a65588ede880f224 [diff] |
In |NCONF_load|, strdup section names rather than adding refs. The fact that |value_free| expects to free() value->section is inconsistent with the behavior of |add_string|, which adds a reference to an existing string. Along the way, add a |CONF_VALUE_new| method to simplify things a bit. Change-Id: I438abc80575394e4d8df62a4fe2ff1050e3ba039 Reviewed-on: https://boringssl-review.googlesource.com/5744 Reviewed-by: Adam Langley <agl@google.com>