]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/edsp/edspsystem.cc
Avoid temporary strings in SubstVar.
[apt.git] / apt-pkg / edsp / edspsystem.cc
index 4c16f76d2f8c53cd10a3f77af574e50a5931d553..95abc15277e79d42a10c2e244a254a13bc271821 100644 (file)
@@ -57,8 +57,8 @@ public:
       if (tempDir.empty())
         return;
 
-      unlink(tempStatesFile.c_str());
-      unlink(tempPrefsFile.c_str());
+      RemoveFile("DeInitialize", tempStatesFile);
+      RemoveFile("DeInitialize", tempPrefsFile);
       rmdir(tempDir.c_str());
    }