[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] Memory Leak
From: |
Brian Gough |
Subject: |
Re: [Bug-gsl] Memory Leak |
Date: |
Mon, 09 Oct 2006 17:46:56 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060815 SeaMonkey/1.0.4 |
M Croswell wrote:
Documentation Person,
In gsl random examples, the
gsl_rng_free(r);
function should be called or memory may not get cleaned-up. It doesn't matter in a short example but might keep folks from remembering to do it.
Here is one page where this clean-up code is missing from the docs:
http://www.gnu.org/software/gsl/manual/html_node/Random-Number-Distribution-Examples.html
Thanks for the suggestion, I will change that in the next release to set
a better example.
--
best regards,
Brian Gough
(GSL Maintainer)
Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/