Merge pull request #2222 from reaperhulk/memleak-partdeux

X509_add_ext dupes the X509_EXTENSION when adding it. fix the leak