tool: call PL_ArenaFinish() on exit if NSPR is used
authorKamil Dudka <kdudka@redhat.com>
Thu, 3 Jul 2014 18:19:35 +0000 (20:19 +0200)
committerKamil Dudka <kdudka@redhat.com>
Thu, 3 Jul 2014 18:27:20 +0000 (20:27 +0200)
commitd343033f3d26bfbc1a1ee90db48a43763aaed264
tree33f570d9678c38fd24751731454eb10d22595431
parent22eb00f9378af4d5b128119754d1b4d69b81e2ee
tool: call PL_ArenaFinish() on exit if NSPR is used

This prevents valgrind from reporting still reachable memory allocated
by NSPR arenas (mainly the freelist).

Reported-by: Hubert Kario
src/tool_main.c