mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 09:27:04 +00:00
Do not use uninitialized variable
This commit is contained in:
parent
ca50396186
commit
03d490159c
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ int r_assoc_copy(newp,old)
|
||||||
r_assoc *new;
|
r_assoc *new;
|
||||||
|
|
||||||
if(!(new=(r_assoc *)calloc(sizeof(r_assoc),1)))
|
if(!(new=(r_assoc *)calloc(sizeof(r_assoc),1)))
|
||||||
ABORT(r);
|
ABORT(R_NO_MEMORY);
|
||||||
new->size=old->size;
|
new->size=old->size;
|
||||||
new->bits=old->bits;
|
new->bits=old->bits;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue