summaryrefslogtreecommitdiff
path: root/rr.c
diff options
context:
space:
mode:
authorWouter Wijngaards <wouter@NLnetLabs.nl>2010-08-09 16:00:50 +0200
committerWouter Wijngaards <wouter@NLnetLabs.nl>2010-08-09 16:00:50 +0200
commit4c75f9ae41bb34a29751c73edc7540344ea6cb1c (patch)
treeeba3dc0cbd0ad1ff2910f309fb471c9d35135cbd /rr.c
parentbb55b92d323f01730e317deeea0cc0b9576edb6b (diff)
downloadldns-4c75f9ae41bb34a29751c73edc7540344ea6cb1c.tar.gz
item 5. removed printf, but no actual leak, this is the schwarzian compare
method.
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rr.c b/rr.c
index d3160e19..834efb5c 100644
--- a/rr.c
+++ b/rr.c
@@ -1344,7 +1344,6 @@ qsort_schwartz_rr_compare(const void *a, const void *b)
ldns_rr2canonical(canonical_a);
sa->transformed_object = ldns_buffer_new(ldns_rr_uncompressed_size(canonical_a));
if (ldns_rr2buffer_wire(sa->transformed_object, canonical_a, LDNS_SECTION_ANY) != LDNS_STATUS_OK) {
- fprintf(stderr, "ERR!\n");
ldns_rr_free(canonical_a);
return 0;
}
@@ -1355,7 +1354,6 @@ qsort_schwartz_rr_compare(const void *a, const void *b)
ldns_rr2canonical(canonical_b);
sb->transformed_object = ldns_buffer_new(ldns_rr_uncompressed_size(canonical_b));
if (ldns_rr2buffer_wire(sb->transformed_object, canonical_b, LDNS_SECTION_ANY) != LDNS_STATUS_OK) {
- fprintf(stderr, "ERR!\n");
ldns_rr_free(canonical_b);
return 0;
}