mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
fixed valgrind initialisation issue
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@47 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
@ -1068,7 +1068,7 @@ static bigint *alloc(BI_CTX *ctx, int size)
|
||||
{
|
||||
/* No free bigints available - create a new one. */
|
||||
biR = (bigint *)malloc(sizeof(bigint));
|
||||
biR->comps = (comp*) malloc(size * COMP_BYTE_SIZE);
|
||||
biR->comps = (comp*)malloc(size * COMP_BYTE_SIZE);
|
||||
biR->max_comps = size; /* give some space to spare */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user