]> granicus.if.org Git - curl/commit
libtest: call PR_Cleanup() on exit if NSPR is used
authorKamil Dudka <kdudka@redhat.com>
Tue, 14 Jul 2015 15:08:44 +0000 (17:08 +0200)
committerKamil Dudka <kdudka@redhat.com>
Tue, 14 Jul 2015 19:52:33 +0000 (21:52 +0200)
commitcd20e81e89ecebc5064e1d3e22e62e2802b2711e
treeef7317b7b68f2f61b63ee35e3483963039f82865
parent79416fb2d6d906210c93e6f5710cea201bdf6b0e
libtest: call PR_Cleanup() on exit if NSPR is used

This prevents valgrind from reporting possibly lost memory that NSPR
uses for file descriptor cache and other globally allocated internal
data structures.

Reported-by: Štefan Kremeň
tests/libtest/Makefile.am
tests/libtest/first.c