Skip to content

Commit

Permalink
dns_server: Fix a small memleak
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Lendecke <[email protected]>
Reviewed-by: Ralph Boehme <[email protected]>

Autobuild-User(master): Ralph Böhme <[email protected]>
Autobuild-Date(master): Fri Aug  7 12:57:02 CEST 2015 on sn-devel-104
  • Loading branch information
vlendec authored and slowfranklin committed Aug 7, 2015
1 parent 9386368 commit 1fcad53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source4/dns_server/dns_query.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ static WERROR handle_question(struct dns_server *dns,
/* First put in the CNAME record */
werror = create_response_rr(question->name, &recs[ri], &ans, &ai);
if (!W_ERROR_IS_OK(werror)) {
TALLOC_FREE(new_q);
return werror;
}

Expand Down

0 comments on commit 1fcad53

Please sign in to comment.