- 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:
Wouter Wijngaards 2012-05-18 15:04:08 +00:00
parent b375ba3455
commit 159d5a18b6
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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);