Bug #1276: Incorrect freeing of memory in OpenSSL extension
http://redmine.ruby-lang.org/issues/show/1276

Author: Charlie Savage
Status: Open, Priority: Normal
Category: ext, Target version: 1.9.1
ruby -v: ruby 1.9.2dev (2009-03-12) [i386-mswin32_90]

The openssl exention uses OPENSSL_malloc to allocate memory in a couple places but then uses free instead of OPENSSL_free.  This causes segmentatin faults on windows if openssl and the openssl ruby extension are using different runtime c libraries.

Patch attached.


----------------------------------------
http://redmine.ruby-lang.org