gpgme: potential minor memory leaks in tests under gpgme/test/gpg

Werner Koch wk at gnupg.org
Fri Jun 10 21:54:07 CEST 2016


On Fri, 10 Jun 2016 17:17, skawashima at uchicago.edu said:

> If they are not memory leaks or they are already fixed, please disregard the email.

Technically correct but these are one time allocations and we don't care
to release them.

>   free((char *)cipher_1_asc);

(No need to cast here becuase free takes a void *.).

> Keep up the great work.

Thanks.  And also thanks for looking at the code.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
    /* EFH in Erkrath: https://alt-hochdahl.de/haus */




More information about the Gnupg-devel mailing list