[pacman-dev] [PATCH] valgrind.supp: suppress leak in gpgme_get_key

Martti Kühne mysatyre at gmail.com
Mon Jan 6 07:40:27 EST 2014


On Fri, Jan 3, 2014 at 8:43 PM, Andrew Gregory
<andrew.gregory.8 at gmail.com> wrote:
> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> ---
>  valgrind.supp | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/valgrind.supp b/valgrind.supp
> index 46edccf..55effa9 100644
> --- a/valgrind.supp
> +++ b/valgrind.supp
> @@ -64,6 +64,13 @@
>     fun:gpgme_get_engine_info
>  }
>  {
> +   gpgme-static-get-key
> +   Memcheck:Leak
> +   fun:calloc
> +   ...
> +   fun:gpgme_get_key
> +}
> +{
>     gpgme-static-set-engine-info
>     Memcheck:Leak
>     fun:malloc
> --
> 1.8.5.2
>
>


I don't understand the reasoning behind this.
How is this not a proper bug which needs to be treated by upstream?

cheers?
mar77i


More information about the pacman-dev mailing list