[asterisk-commits] file: branch group/dns r432993 - /team/group/dns/res/res_resolver_unbound.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Mar 16 09:39:05 CDT 2015
Author: file
Date: Mon Mar 16 09:39:03 2015
New Revision: 432993
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432993
Log:
Use the correct function for freeing DNS result.
Modified:
team/group/dns/res/res_resolver_unbound.c
Modified: team/group/dns/res/res_resolver_unbound.c
URL: http://svnview.digium.com/svn/asterisk/team/group/dns/res/res_resolver_unbound.c?view=diff&rev=432993&r1=432992&r2=432993
==============================================================================
--- team/group/dns/res/res_resolver_unbound.c (original)
+++ team/group/dns/res/res_resolver_unbound.c Mon Mar 16 09:39:03 2015
@@ -535,7 +535,7 @@
static int sync_run(struct ast_test *test, const char *domain, int rr_type,
int rr_class, struct dns_record *records, size_t num_records)
{
- RAII_VAR(struct ast_dns_result *, result, NULL, ao2_cleanup);
+ RAII_VAR(struct ast_dns_result *, result, NULL, ast_dns_result_free);
const struct ast_dns_record *record;
int i;
More information about the asterisk-commits
mailing list