result_free to resolve_free (thanks Benno).

git-svn-id: file:///svn/unbound/trunk@924 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2008-02-06 13:10:40 +00:00
parent 46f7dc4d08
commit a9a47f8b41
8 changed files with 15 additions and 14 deletions
+2 -2
View File
@@ -243,7 +243,7 @@ ext_callback(void* mydata, int err, struct ub_val_result* result)
pi.err = 0;
print_result(&pi);
}
ub_val_result_free(result);
ub_val_resolve_free(result);
}
/** extended thread worker */
@@ -451,7 +451,7 @@ int main(int argc, char** argv)
/* print lookup results */
for(i=0; i<argc; i++) {
print_result(&lookups[i]);
ub_val_result_free(lookups[i].result);
ub_val_resolve_free(lookups[i].result);
}
ub_val_ctx_delete(ctx);