From 95ea8ef6fd3c19a9a9f1e6aa356e57f1e0a69e66 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Tue, 13 Oct 2009 08:23:48 +0000 Subject: [PATCH] Documentation of the last function of the file. --- documentation/grepday.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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. +*/ -- 2.47.2