mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-11 12:27:43 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user