]> granicus.if.org Git - p11-kit/commit
test: Fix memleak in test-token cleanup
authorDaiki Ueno <dueno@redhat.com>
Tue, 20 Sep 2016 14:48:16 +0000 (16:48 +0200)
committerDaiki Ueno <ueno@gnu.org>
Mon, 31 Oct 2016 14:24:17 +0000 (15:24 +0100)
commitbc6469c4fd576c698bab9c8b620de00d7ba1fe1a
tree16d17581de0f4f7ea789e91e193ae0119242b618
parentecaf79c6a0b35e55b27f465c6d6628f165874b78
test: Fix memleak in test-token cleanup

GCC's asan spotted this:
  Direct leak of 338 byte(s) in 13 object(s) allocated from:
      #0 0x7f54f03fee20 in malloc (/lib64/libasan.so.3+0xc6e20)
      #1 0x445e8c in p11_path_build ../common/path.c:222
      #2 0x4385bd in expand_tempdir ../common/test.c:334
      #3 0x43869c in p11_test_directory ../common/test.c:361
      #4 0x4033e3 in setup_temp ../trust/test-token.c:79
trust/test-token.c