Michael Davis wrote: > > Is there any English documentation for Ruby/DL? > In the http://ttsky.net/ruby/ruby-dl-sample/win32/volume.rb example, I > see calls to 'DL.malloc(1000)' but no calls to free(). Does this mean > that Ruby's GC will free the memory when it is no longer referenced or > should there be a call to free() in the example? > > Thanks, Michael there's ext/dl/doc/dl.txt file in cvs. And yes, Ruby's GC will release the memory allocated by DL.malloc method when it is no longer referenced. You don't have to free it explicitly. /kent