rts: Properly free the RTSSummaryStats structure
authorÖmer Sinan Ağacan <omeragacan@gmail.com>
Wed, 1 May 2019 15:40:33 +0000 (18:40 +0300)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Sat, 4 May 2019 00:50:03 +0000 (20:50 -0400)
commitf862963b6cdd217730e4f36f07ad52ac9f7be7f3
treed77bf7af1697eb1b88011fc489d7ad24805dbd6b
parentcc495d5777c01ef62129df15caacf87b0e430c6b
rts: Properly free the RTSSummaryStats structure

`stat_exit` always allocates a `RTSSummaryStats` but only sometimes
frees it, which casues leaks. With this patch we unconditionally free
the structure, fixing the leak.

Fixes #16584
rts/Stats.c