diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-07-07 21:44:19 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-07-07 21:46:49 +0200 |
commit | b7da5beda46b52a8016900bc8078eaff60844b54 (patch) | |
tree | 59f60b28fdee9e416b04605587ba15198516c751 /cipher/rsa.c | |
parent | b3fc17453bf586a99879a7bba03122a4f0b7aa6d (diff) | |
download | libgcrypt-b7da5beda46b52a8016900bc8078eaff60844b54.tar.gz |
Add LSan annotation to ignore a memory leak
* src/g10lib.h: Add annotate_leaked_object macro that ignores leaked
objects. This avoids LSan from reporting deliberately leaked memory.
* mpi/mpiutil.c: Mark "constant" MPIs as leaked.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'cipher/rsa.c')
0 files changed, 0 insertions, 0 deletions