summaryrefslogtreecommitdiff
path: root/methods/gpgv.cc
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 /methods/gpgv.cc
parentde24f8ce508edd02690947d8dff7f0a4090a67fe (diff)
add missing "free(buffer) for allocated buffer
Diffstat (limited to 'methods/gpgv.cc')
-rw-r--r--methods/gpgv.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/gpgv.cc b/methods/gpgv.cc
index fe8bac6c9..ea8a26fd4 100644
--- a/methods/gpgv.cc
+++ b/methods/gpgv.cc
@@ -152,6 +152,7 @@ string GPGVMethod::VerifyGetSigners(const char *file, const char *outfile,
}
}
fclose(pipein);
+ free(buffer);
int status;
waitpid(pid, &status, 0);