diff options
author | Justus Winter <justus@g10code.com> | 2016-06-28 17:59:17 +0200 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2016-06-28 18:21:50 +0200 |
commit | c14ef10fc347d966a1efcb5c2000cbf3aaafa905 (patch) | |
tree | e36f40e1fe5672dcb1e38172559c0b431e1a9367 /common/t-mbox-util.c | |
parent | dirmngr: add option to retrieve extra WKS info. (diff) | |
download | gnupg2-c14ef10fc347d966a1efcb5c2000cbf3aaafa905.tar.xz gnupg2-c14ef10fc347d966a1efcb5c2000cbf3aaafa905.zip |
common: Fix memory leaks.
* common/ccparray.c (ccparray_put): Free old array.
* common/stringhelp.c (do_make_filename): Free 'home'.
* common/t-convert.c: Fix trivial memory leaks.
* common/t-iobuf.c: Likewise.
* common/t-mbox-util.c: Likewise.
* common/t-name-value.c: Likewise.
* common/t-stringhelp.c: Likewise.
* common/t-strlist.c: Likewise.
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'common/t-mbox-util.c')
-rw-r--r-- | common/t-mbox-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/t-mbox-util.c b/common/t-mbox-util.c index dfa4ada2a..ff48f6c5d 100644 --- a/common/t-mbox-util.c +++ b/common/t-mbox-util.c @@ -87,6 +87,8 @@ run_test (void) fail (idx); else if (strcmp (mbox, testtbl[idx].mbox)) fail (idx); + + xfree (mbox); } } |