]> git.tuebingen.mpg.de Git - paraslash.git/commit
afs: Fix memory leak in mood_load().
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 12 Jun 2023 23:42:39 +0000 (01:42 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 18 Jun 2023 13:17:25 +0000 (15:17 +0200)
commitbb0aec0963b1b2da617aebda26deca576684436c
tree9a5f7747ae2a93e297eecfdc1c006d6d046129fc
parent04ef2e43d3658325dd3028476911a4b55c4c5dca
afs: Fix memory leak in mood_load().

In the result != NULL case we open a fresh score table but miss to
close it if add_to_score_table() fails. This should never happen,
but still..

Fixes: 2d2637cb4c9ab76fea6bc336b9af88fd00bf5e08
mood.c