]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.cc
fix memory leaks reported by -fsanitize
[apt.git] / apt-pkg / acquire-worker.cc
index 8d619e96da9a1daed290d04cbab56712f0aa38fd..c0f93f9ce5305a9e1f44afe808135e187f98402a 100644 (file)
@@ -722,7 +722,7 @@ void pkgAcquire::Worker::PrepareFiles(char const * const caller, pkgAcquire::Que
         unlink(Owner->DestFile.c_str());
         if (link(filename.c_str(), Owner->DestFile.c_str()) != 0)
         {
-           // diferent mounts can't happen for us as we download to lists/ by default,
+           // different mounts can't happen for us as we download to lists/ by default,
            // but if the system is reused by others the locations can potentially be on
            // different disks, so use symlink as poor-men replacement.
            // FIXME: Real copying as last fallback, but that is costly, so offload to a method preferable