]> git.sur5r.net Git - bacula/bacula/commitdiff
Small cleanup on test program
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 19 Jan 2010 16:20:34 +0000 (17:20 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 19 Jan 2010 16:20:34 +0000 (17:20 +0100)
bacula/src/win32/stored/postest/postest.cpp

index b8c1f2fef3c8b5cc9dde8dad71fc871f0feda379..597691a65d872a8bd9456ec5851aa6769f03d3f6 100644 (file)
@@ -293,6 +293,7 @@ main(int argc, char **argv)
    ulBlockNumber++;
 
    run_script(fd, TestScript, SCRIPT_LENGTH);
-
+   tape_close(fd);
+   free(pBuffer);
    return 0;
 }