[Openvas-devel] Memory leak in openvassd
henri.doreau at greenbone.net
Mon Apr 18 10:14:57 CEST 2011
Valgrind reports a memory leak in the openvas scanner in
src/ntp_11.c:819. arglist structures are allocated but not g_free'd. The
missing arg_free_all() is commented out at the end of the function.
Uncommenting it solves the problem and doesn't seem to break anything
(scanner works fine and neither leak nor double free reported by
valgrind). Nevertheless I am maybe missing something. Does anyone
know/remember why was this line commented out? (It is like this since
the initial SVN revision).
More information about the Openvas-devel