heimdal: Use krb5_free_default_realm() for free()
commitd871a31e61e1e0156644cc19cd636452ccbbe20b
authorSantosh Kumar Pradhan <spradhan@redhat.com>
Fri, 21 Feb 2014 04:18:31 +0000 (21 09:48 +0530)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 21 Feb 2014 14:59:28 +0000 (21 15:59 +0100)
tree2699142889d60f731efeb35426d6542ae06c804b
parent58e7e564d7c81dc1b1084174957568396233a743
heimdal: Use krb5_free_default_realm() for free()

The resource allocated by krb5_default_default_realm() should be
free()'d by krb5_free_default_realm() instead of plain free()
for better readability.

Signed-off-by: Santosh Kumar Pradhan <spradhan@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/heimdal/lib/krb5/principal.c