r12037: Fix malloc corruption caused by double-free(), where realloc(ptr, 0)
authorAndrew Bartlett <abartlet@samba.org>
Sat, 3 Dec 2005 00:47:51 +0000 (00:47 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:01 +0000 (13:47 -0500)
commit9afdb938cd5e3c86d72d7ef8c5a8fced13291c9c
tree7486ecd60c5fc022e137a646a26a6e95ec7f974b
parentc85779b3b556c712f8fdcde6e2464bc2833054dd
r12037: Fix malloc corruption caused by double-free(), where realloc(ptr, 0)
is equivilant to free().

This is the issue tridge was seeing in the MEMORY: keytab code.

Andrew Bartlett
(This used to be commit d5a2de8ef06a08274d25ab005f2a68ec32e226f0)
source4/heimdal/lib/krb5/keytab_memory.c