On 12/13/2011 11:24 AM, IvankoB wrote:
> Me have SIGSEGV there even for properly initialized pointers.
> 
> //-------------
> var
> digest: pEVP_MD; // from OPRNSSL
> cipher: pEVP_CIPHER; // from OPRNSSL
> [..]
> try
> [..]
> finally
>    if assigned(digest) then freeandnil(digest); //<<< HERE
>    if assigned(cipher) then freeandnil(cipher);
> end;
> //-------------
> 
> Can't it be OPENSSL specific due to some memory management ?
> If can not be used then how to free memory so that it will be called  
> anyway ?
> 
Freeandnil can be used for pascal class instances only. In order to free
memory assigned by OpenSSL probably OpenSSL functions must be used.

Martin

------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to