3f7e65f9a9
have been removed after my last fix. This avoids a memory leak when a fingerprint was not found. Removed the double loop increment in the code to release the arrays. (make_fingerprint): Removed superfluous check on retrun value of xmalloc. (safe_free): Removed. Changed all callers to use a regular free and at appropriate palces set the free pointer to NULL. That safe_free stuff seems to have been copied verbatim from some Mutt example code I posted. (storeNewCharPtr): Use xmalloc instead of an unchecked malloc. Removed superfluous string termination. (parseAddress): Use xmalloc instead of an unchecked malloc. (nextAddress): Ditto. * gpgmeplug.c: Moved a few helper functions more to the top. Fixed comment syntax. Merged a copyright notice somewhere in the middle of the file with the one at the top. |
||
---|---|---|
.. | ||
ChangeLog | ||
cryptplug.h | ||
gpgme-openpgp.c | ||
gpgme-smime.c | ||
gpgmeplug.c | ||
gpgmeplug.dox | ||
Makefile.am |