From: Marco van Wieringen Date: Wed, 1 Jun 2011 18:56:07 +0000 (+0200) Subject: Fix small memory leak in dbcheck not calling free_pool_memory for name variable. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d62777dce70f9edaf0c16f6fcb76e21e8ea34aee;p=bacula%2Fbacula Fix small memory leak in dbcheck not calling free_pool_memory for name variable. --- diff --git a/bacula/src/tools/dbcheck.c b/bacula/src/tools/dbcheck.c index 2744977cef..a61b1c70dc 100644 --- a/bacula/src/tools/dbcheck.c +++ b/bacula/src/tools/dbcheck.c @@ -1248,6 +1248,7 @@ static void repair_bad_filenames() } db_sql_query(db, buf, NULL, NULL); } + free_pool_memory(name); } } @@ -1309,6 +1310,7 @@ static void repair_bad_paths() } db_sql_query(db, buf, NULL, NULL); } + free_pool_memory(name); } }