commit | 589902b2cbc667564642a0fdedfb2ef176dba0e8 | [log] [tgz] |
---|---|---|
author | Rich Salz <rsalz@openssl.org> | Mon May 16 14:58:00 2016 -0400 |
committer | Rich Salz <rsalz@openssl.org> | Mon May 16 15:18:22 2016 -0400 |
tree | 8a091682c5d833978c6d610f956c7c0321e8d6b7 | |
parent | 2194351fdaab91cff94f921e633d46c9589b0d2c [diff] [blame] |
Use app_malloc; two missing cases. Reviewed-by: Matt Caswell <matt@openssl.org>
diff --git a/apps/apps.c b/apps/apps.c index c7e01b0..1d3c66a 100644 --- a/apps/apps.c +++ b/apps/apps.c
@@ -2633,7 +2633,7 @@ return; if (numfds == 0) return; - fds = OPENSSL_malloc(sizeof(OSSL_ASYNC_FD) * numfds); + fds = app_malloc(sizeof(OSSL_ASYNC_FD) * numfds, "allocate async fds"); if (!SSL_get_all_async_fds(s, fds, &numfds)) { OPENSSL_free(fds); }