From: Kern S. <ke...@us...> - 2005-05-29 10:25:24
|
Update of /cvsroot/bacula/bacula/src/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14823/src/tools Modified Files: testls.c Log Message: - Remove old code in jcr.c - Make testls release jcr chain when terminating. Index: testls.c =================================================================== RCS file: /cvsroot/bacula/bacula/src/tools/testls.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- testls.c 21 Apr 2005 17:20:38 -0000 1.10 +++ testls.c 29 May 2005 10:25:13 -0000 1.11 @@ -1,24 +1,18 @@ /* * Test program for listing files during regression testing */ - /* - Copyright (C) 2000-2003 Kern Sibbald and John Walker + Copyright (C) 2000-2005 Kern Sibbald This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + modify it under the terms of the GNU General Public License + version 2 as ammended with additional clauses defined in the + file LICENSE in the main source directory. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this program; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + the file LICENSE for additional details. */ @@ -156,6 +150,7 @@ hard_links = term_find_files(ff); free_jcr(jcr); + term_last_jobs_list(); /* free jcr chain */ close_memory_pool(); sm_dump(false); exit(0); |