don't free memory unless we allocated it.
authortedu <tedu@openbsd.org>
Wed, 7 May 2014 21:18:53 +0000 (21:18 +0000)
committertedu <tedu@openbsd.org>
Wed, 7 May 2014 21:18:53 +0000 (21:18 +0000)
commitd41aaf0b54950261cb35173542b8eb0e1a2c35a2
treed44943597993467458db2f59749f679a7a4ddc97
parent1ff594143f6177b65319d78d9ebbc0bce57af36e
don't free memory unless we allocated it.
reported to openssl by David Ramos (rt 3338)
stealing commit from logan, who's run away. ok miod.
lib/libcrypto/ec/ec_asn1.c
lib/libssl/src/crypto/ec/ec_asn1.c