Skip to content

Commit

Permalink
Fix Warning 826814.9284764
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Fekete committed Jul 23, 2024
1 parent a9ff773 commit 7e6b1bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ssl_load.c
Original file line number Diff line number Diff line change
Expand Up @@ -5293,6 +5293,7 @@ int wolfSSL_SetTmpDH(WOLFSSL* ssl, const unsigned char* p, int pSz,
pAlloc = (byte*)XMALLOC(pSz, ssl->heap, DYNAMIC_TYPE_PUBLIC_KEY);
gAlloc = (byte*)XMALLOC(gSz, ssl->heap, DYNAMIC_TYPE_PUBLIC_KEY);
if ((pAlloc == NULL) || (gAlloc == NULL)) {
/* Memory will be freed below in the (ret != 1) block */
ret = MEMORY_E;
}
}
Expand Down

0 comments on commit 7e6b1bb

Please sign in to comment.