]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix minor memory leaks in kvno
authorGreg Hudson <ghudson@mit.edu>
Sun, 12 Mar 2017 16:42:37 +0000 (12:42 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 13 Mar 2017 16:54:39 +0000 (12:54 -0400)
commit16d3eaf055a2e487ca28fa71e1e57802bc47310d
tree1f32c631a15d2885305a31fd8a588add6e7d8559
parent0d39d46852587d36fcc5024d5766586faba9044a
Fix minor memory leaks in kvno

In do_k5_kvno(), free allocated values on success as well as failure.
In t_kdb.py, run kvno with multiple arguments to manifest this leak in
asan and valgrind.  Reported by Cel Skeggs.

ticket: 8558
src/clients/kvno/kvno.c
src/tests/t_kdb.py