It is perfectly valid to call free(NULL), so stop checking for non-NULL
authorjsing <jsing@openbsd.org>
Mon, 19 May 2014 12:13:30 +0000 (12:13 +0000)
committerjsing <jsing@openbsd.org>
Mon, 19 May 2014 12:13:30 +0000 (12:13 +0000)
commit7dc304aadc7dce4fbb9a8f3931d77cdca7c65042
treece3a0778eb14bd880d642ec9fc70ef52c8126c0f
parenta772672b32dee49627b498565c95b36ea6b61bee
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.
29 files changed:
lib/libssl/src/apps/apps.c
lib/libssl/src/apps/ca.c
lib/libssl/src/apps/cms.c
lib/libssl/src/apps/dgst.c
lib/libssl/src/apps/dsa.c
lib/libssl/src/apps/ec.c
lib/libssl/src/apps/ecparam.c
lib/libssl/src/apps/enc.c
lib/libssl/src/apps/engine.c
lib/libssl/src/apps/gendsa.c
lib/libssl/src/apps/genpkey.c
lib/libssl/src/apps/genrsa.c
lib/libssl/src/apps/openssl.c
lib/libssl/src/apps/passwd.c
lib/libssl/src/apps/pkcs12.c
lib/libssl/src/apps/pkcs8.c
lib/libssl/src/apps/pkey.c
lib/libssl/src/apps/pkeyutl.c
lib/libssl/src/apps/req.c
lib/libssl/src/apps/rsa.c
lib/libssl/src/apps/rsautl.c
lib/libssl/src/apps/s_client.c
lib/libssl/src/apps/s_server.c
lib/libssl/src/apps/s_socket.c
lib/libssl/src/apps/smime.c
lib/libssl/src/apps/speed.c
lib/libssl/src/apps/spkac.c
lib/libssl/src/apps/ts.c
lib/libssl/src/apps/x509.c