summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-07-25 20:55:18 +0200
committerMichael Vogt <mvo@debian.org>2013-07-25 20:55:18 +0200
commit1b7bf822ad9504f6d01cd4422d830e8815143912 (patch)
tree6512ef6a8d6e13729824391e150dc48f91715b0e /apt-pkg
parentde24f8ce508edd02690947d8dff7f0a4090a67fe (diff)
add missing "free(buffer) for allocated buffer
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/contrib/fileutl.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc
index 398830ff5..0b6e07f75 100644
--- a/apt-pkg/contrib/fileutl.cc
+++ b/apt-pkg/contrib/fileutl.cc
@@ -251,7 +251,6 @@ int GetLock(string File,bool Errors)
if (errno == ENOLCK)
{
-
_error->Warning(_("Not using locking for nfs mounted lock file %s"),File.c_str());
return dup(0); // Need something for the caller to close
}