After some careful code analysis, be a little more careful
authoraland <aland>
Sat, 8 Dec 2007 22:34:26 +0000 (22:34 +0000)
committeraland <aland>
Sat, 8 Dec 2007 22:34:26 +0000 (22:34 +0000)
commitc66ca8532b08f75ec814f13c5f8f80e947327645
tree9e3aaa6ba531efd52316acecd46edecd9de51e88
parent715a8fc4cd354a08674bc1ee8d415f8eaf4cae4a
After some careful code analysis, be a little more careful
about freeing the memory.  There have been reports of memory
leaks...

sub-types do:  type.data = malloc()
eap_wireformat does: free(type.data)

BUT eap_packet_free doesn't free type.data, even if it's not
NULL.  This may be a surprise.  There may also be code paths
where the memory gets allocated WITHOUT it being packed into
a packet.  So we fix the code here to be a little more careful
src/modules/rlm_eap/mem.c