From: Frédéric Marchal Date: Tue, 13 Oct 2009 08:23:48 +0000 (+0000) Subject: Documentation of the last function of the file. X-Git-Tag: v2_2_6~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95ea8ef6fd3c19a9a9f1e6aa356e57f1e0a69e66;p=thirdparty%2Fsarg.git Documentation of the last function of the file. --- diff --git a/documentation/grepday.txt b/documentation/grepday.txt index ade174a..78f9eb4 100644 --- a/documentation/grepday.txt +++ b/documentation/grepday.txt @@ -60,3 +60,15 @@ Draw the graphic of the report for the user. \param user The name of the user for which to draw the graphic. */ + + + + + +/*! \fn void greport_cleanup(void) +Free the memory allocated internally by libgd. + +It is not necessary to free up that memory as it is reclaimed by the kernel when sarg terminates but +it clutters the valgrind reports. If this function is called before sarg terminates, the memory leaks +reported by valgrind are to be addressed. +*/