diff options
author | Werner Koch <[email protected]> | 2002-07-01 13:01:51 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-07-01 13:01:51 +0000 |
commit | 3f7e65f9a9d1c4b3a6ec639c814018620474c88a (patch) | |
tree | a1c2ff1da5a405e9af31e656fa6b7e13057ac750 /NEWS | |
parent | Fixed memory corruption bug (diff) | |
download | gpgme-3f7e65f9a9d1c4b3a6ec639c814018620474c88a.tar.gz gpgme-3f7e65f9a9d1c4b3a6ec639c814018620474c88a.zip |
* gpgmeplug.c (findCertificates): Reintroduced a free which must
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.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions