diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-10-02 23:31:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-10-02 23:31:01 +0200 |
commit | b85c625d831de821d0e4ead3d01be2ffe955aa28 (patch) | |
tree | f70927e2d28d679904a17b9b87bdede3473a790c /lib/vtls/nss.c | |
parent | 0d357155cc8b5132e33ee6d20b0a83aff872e58b (diff) |
detect_proxy: fix possible single-byte memory leak
Coverity CID 1202836. If the proxy environment variable returned an empty
string, it would be leaked. While an empty string is not really a proxy, other
logic in this function already allows a blank string to be returned so allow
that here to avoid the leak.
Diffstat (limited to 'lib/vtls/nss.c')
0 files changed, 0 insertions, 0 deletions