mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 06:37:08 +00:00
- Review comments from Yuri, removed duplicate memset to zero in delegpt.
git-svn-id: file:///svn/unbound/trunk@2675 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
b375ba3455
commit
159d5a18b6
@ -1,3 +1,6 @@
|
||||
18 May 2012: Wouter
|
||||
- Review comments, removed duplicate memset to zero in delegpt.
|
||||
|
||||
16 May 2012: Wouter
|
||||
- Updated doc/FEATURES with RFCs that are implemented but not listed.
|
||||
- Protect if statements in val_anchor for compile without locks.
|
||||
|
@ -505,7 +505,6 @@ struct delegpt* delegpt_create_mlc(uint8_t* name)
|
||||
struct delegpt* dp=(struct delegpt*)calloc(1, sizeof(*dp));
|
||||
if(!dp)
|
||||
return NULL;
|
||||
memset(dp, 0, sizeof(*dp));
|
||||
dp->dp_type_mlc = 1;
|
||||
if(name) {
|
||||
dp->namelabs = dname_count_size_labels(name, &dp->namelen);
|
||||
|
Loading…
Reference in New Issue
Block a user