Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
OpenSSL
/
//opt/alt/ruby27/share/ri/system/OpenSSL/print_mem_leaks-c.ri
U:RDoc::AnyMethod[iI"print_mem_leaks:ETI"OpenSSL::print_mem_leaks;TT:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"PFor debugging the Ruby/OpenSSL library. Calls CRYPTO_mem_leaks_fp(stderr). ;TI"RPrints detected memory leaks to standard error. This cleans the global state ;TI"Jup thus you cannot use any methods of the library after calling this.;To:RDoc::Markup::BlankLine o; ; [I"9Returns +true+ if leaks detected, +false+ otherwise.;T@o; ; [I"QThis is available only when built with a capable OpenSSL and --enable-debug ;TI"configure option.;T@S:RDoc::Markup::Heading: leveli: textI"Example;To:RDoc::Markup::Verbatim; [I"OpenSSL.mem_check_start ;TI",NOT_GCED = OpenSSL::PKey::RSA.new(256) ;TI" ;TI"END { ;TI" GC.start ;TI"8 OpenSSL.print_mem_leaks # will print the leakage ;TI"};T:@format0: @fileI"ext/openssl/ossl.c;T:0@omit_headings_from_table_of_contents_below0I"-OpenSSL.print_mem_leaks -> true | false ;T0[ I"();T@#FI"OpenSSL;TcRDoc::NormalModule00