merged mvo/feature/deb822
[ntk/apt.git] / test / libapt / sourcelist_test.cc
index 1d30bd8..bf61746 100644 (file)
@@ -36,6 +36,7 @@ int main(int argc, char *argv[])
       ;
 
    FileFd fd;
+   atexit(remove_tmpfile);
    tempfile = strdup("apt-test.XXXXXXXX");
    tempfile_fd = mkstemp(tempfile);