From: Andre Noll Date: Wed, 3 Jan 2018 00:07:45 +0000 (+0100) Subject: afs: Free current mood or playlist on exit. X-Git-Tag: v0.6.2~4^2~3 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=b8ecd28c263ff39366a47fe9f7a5785bd43e89ab;p=paraslash.git afs: Free current mood or playlist on exit. Another harmless memory leak in the afs process which only occurs on exit. --- diff --git a/afs.c b/afs.c index e82e7726..bad8b8dc 100644 --- a/afs.c +++ b/afs.c @@ -1009,6 +1009,7 @@ out_close: out: signal_shutdown(signal_task); free_status_items(); + free(current_mop); free_lpr(); if (ret < 0) PARA_EMERG_LOG("%s\n", para_strerror(-ret));