projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free NULL cleanup
[openssl.git]
/
apps
/
sess_id.c
diff --git
a/apps/sess_id.c
b/apps/sess_id.c
index 9400af964efd0efd0372f5be7ba13fd9e59dee8d..53ccbb35762333ac3ce5bae12ed2a11e7fa2b8b8 100644
(file)
--- a/
apps/sess_id.c
+++ b/
apps/sess_id.c
@@
-237,8
+237,7
@@
int MAIN(int argc, char **argv)
}
ret = 0;
end:
- if (out != NULL)
- BIO_free_all(out);
+ BIO_free_all(out);
if (x != NULL)
SSL_SESSION_free(x);
apps_shutdown();
@@
-279,7
+278,6
@@
static SSL_SESSION *load_sess_id(char *infile, int format)
}
end:
- if (in != NULL)
- BIO_free(in);
+ BIO_free(in);
return (x);
}