Thanks. The rpmatch.c issue is a true memory leak.
The three regcomp.c issues seem to be false alarms: that code
is not compiled for gnulib and the diagnostics suggest that there
may be a bug in cppcheck.
The copy-file.c issue is not a real bug but I suppose other people
will run into the false
cppcheck version 1.58 reports the following errors on the latest
Savannah respository checkout of gnulib (last changeSat, 16 Mar 2013
05:13:46 +):
[lib/rpmatch.c:113]: (error) Memory leak: safe_pattern
[lib/regcomp.c:2848]: (error) Uninitialized variable: symb_table
[lib/regcomp.c:2847]: (erro