nfsdcltrack/sqlite.c:218: leaked_storage: Variable "err" going out of scope leaks the storage it points to. Signed-off-by: Steve Dickson <steved@xxxxxxxxxx> --- utils/nfsdcltrack/sqlite.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/nfsdcltrack/sqlite.c b/utils/nfsdcltrack/sqlite.c index c59f777..2801201 100644 --- a/utils/nfsdcltrack/sqlite.c +++ b/utils/nfsdcltrack/sqlite.c @@ -215,6 +215,8 @@ sqlite_maindb_init_v2(void) &err); if (ret != SQLITE_OK) { xlog(L_ERROR, "Unable to begin transaction: %s", err); + if (err) + sqlite3_free(err); return ret; } -- 2.20.1