diff options
| author | 2014-05-19 12:13:30 +0000 | |
|---|---|---|
| committer | 2014-05-19 12:13:30 +0000 | |
| commit | 7dc304aadc7dce4fbb9a8f3931d77cdca7c65042 (patch) | |
| tree | ce3a0778eb14bd880d642ec9fc70ef52c8126c0f /lib/libssl/src/apps/spkac.c | |
| parent | Nuke some trailing whitespace that snuck in. (diff) | |
| download | wireguard-openbsd-7dc304aadc7dce4fbb9a8f3931d77cdca7c65042.tar.xz wireguard-openbsd-7dc304aadc7dce4fbb9a8f3931d77cdca7c65042.zip | |
It is perfectly valid to call free(NULL), so stop checking for non-NULL
before calling free - of some course parts of the code already did this.
Diffstat (limited to 'lib/libssl/src/apps/spkac.c')
| -rw-r--r-- | lib/libssl/src/apps/spkac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libssl/src/apps/spkac.c b/lib/libssl/src/apps/spkac.c index 2fa7eac6b2b..33791c6cc6b 100644 --- a/lib/libssl/src/apps/spkac.c +++ b/lib/libssl/src/apps/spkac.c @@ -280,8 +280,7 @@ end: BIO_free(in); BIO_free_all(out); EVP_PKEY_free(pkey); - if (passin) - free(passin); + free(passin); return (ret); } |
