Re: freeing X509 structures

2010-04-28 Thread Bruce Stephens
Matt Fioravante writes: > I've got some code that dynamically allocates an X509 object using > PEM_read_X509 and then extracts some data from it. > > The problem is the object never gets freed. I tried to call free() on the > X509 pointer but that doesn't work either because it has dynamically

freeing X509 structures

2010-04-28 Thread Matt Fioravante
I've got some code that dynamically allocates an X509 object using PEM_read_X509 and then extracts some data from it. The problem is the object never gets freed. I tried to call free() on the X509 pointer but that doesn't work either because it has dynamically allocated sub structures. Is there an