X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Fgetfsent.c;h=2c8a7e185a8cb1f777595d00e69891a036046cbf;hb=HEAD;hp=496c4e19f5b806275e6ec76375a32c985f6280d0;hpb=e442edb4d5816c4ad107ad9e71164f845eba70ad;p=debian%2Famanda diff --git a/client-src/getfsent.c b/client-src/getfsent.c index 496c4e1..2c8a7e1 100644 --- a/client-src/getfsent.c +++ b/client-src/getfsent.c @@ -1,6 +1,7 @@ /* * Amanda, The Advanced Maryland Automatic Network Disk Archiver * Copyright (c) 1991-1998, 2001 University of Maryland at College Park + * Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved. * All Rights Reserved. * * Permission to use, copy, modify, distribute, and sell this software and its @@ -666,8 +667,6 @@ main( /* Don't die when child closes pipe */ signal(SIGPIPE, SIG_IGN); - malloc_size_1 = malloc_inuse(&malloc_hist_1); - if(!open_fstab()) { g_fprintf(stderr, _("getfsent_test: could not open fstab\n")); return 1; @@ -755,6 +754,7 @@ main( amfree(name); + dbclose(); return 0; }