fixed issue #12 in github - memory leaks when using d2i_ASN1_OBJECT and i2s_ASN1_INTEGER.