git-svn-id: file:///svn/unbound/trunk@1821 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2009-09-08 08:24:44 +00:00
parent 1f45bbbd63
commit 30d0bf14eb
2 changed files with 2 additions and 5 deletions
+2 -5
View File
@@ -489,6 +489,7 @@ move_into_cache(struct ub_packed_rrset_key* k,
s += d->rr_len[i];
ad = (struct packed_rrset_data*)malloc(s);
if(!ad) {
log_warn("error out of memory");
ub_packed_rrset_parsedelete(ak, &worker->alloc);
return 0;
}
@@ -592,11 +593,7 @@ load_rrset(SSL* ssl, ldns_buffer* buf, struct worker* worker)
return 1;
}
i= move_into_cache(rk, d, worker);
if(!i) {
log_warn("move into cache failed");
}
return i;
return move_into_cache(rk, d, worker);
}
/** load rrset cache */
BIN
View File
Binary file not shown.