> > I really appreciate your help on this.Still concerned about this . Can you explain how this memory gets freed?
> > The code you submitted leaked opaque data, which i've fixed.
> >
> > I'm concerned about the call to storeUserName, and getConnection, there's no where where the connection is explicitly destroyed, so I don't see how memory passed to those functions or allocated by those functions is ever freed. I guess there must be some magic GC/reference counting i'm missing?
--
OK going through and cleaning up the eap_types.h file, your declared EAP-TNC to be type 38? IANA has type 38 to be HTTP-Digest. You need to request a number from IANA for EAP-TNC.