Skip to content

Commit

Permalink
Fix memory leak in dns resolution during spnego authentication using …
Browse files Browse the repository at this point in the history
…kerberos.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11471

Signed-off-by: Har Gagan Sahai <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>
Reviewed-by: Volker Lendecke <[email protected]>

Autobuild-User(master): Volker Lendecke <[email protected]>
Autobuild-Date(master): Thu Sep  3 19:11:22 CEST 2015 on sn-devel-104
  • Loading branch information
Har Gagan Sahai authored and vlendec committed Sep 3, 2015
1 parent 22a37c4 commit e4b0ea1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source4/heimdal/lib/roken/resolve.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ dns_lookup_int(const char *domain, int rr_class, int rr_type)

len = min(len, size);
r = parse_reply(reply, len);
resolve_free_handle(handle);
free(reply);
return r;
}
Expand Down

0 comments on commit e4b0ea1

Please sign in to comment.