tool: call PR_Cleanup() on exit if NSPR is used
authorKamil Dudka <kdudka@redhat.com>
Wed, 2 Jul 2014 14:34:48 +0000 (16:34 +0200)
committerKamil Dudka <kdudka@redhat.com>
Wed, 2 Jul 2014 16:11:05 +0000 (18:11 +0200)
commit24c3cdce88f39731506c287cb276e8bf4a1ce393
treeaf9e9b74e8ea4040944b6e2312ad661a8ae2eb12
parent7581dee10aedeb96231dd24e187ff5426fc72469
tool: 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.
RELEASE-NOTES
src/tool_main.c