]> git.saurik.com Git - apt.git/blobdiff - methods/gpgv.cc
add missing "free(buffer) for allocated buffer
[apt.git] / methods / gpgv.cc
index fe8bac6c9e17634971113c75ed84f06a5640a439..ea8a26fd42d0312931091963cfdac9b72274902c 100644 (file)
@@ -152,6 +152,7 @@ string GPGVMethod::VerifyGetSigners(const char *file, const char *outfile,
       }
    }
    fclose(pipein);
+   free(buffer);
 
    int status;
    waitpid(pid, &status, 0);