On Wed, May 22, 2013, Phillip Hellewell wrote:
> Looking at the implementation of CMS_get0_signers(), it looks like it
> creates a new stack of X509 that I will have to free.
It's midway between 1 and 0 ;-)
The STACK needs to be freed buty not each individual member. So you call
sk_X509_free and NOT sk_X509_pop_free().