From 5fb933b0d49cb91365db8401b2a465cf2c1267dd Mon Sep 17 00:00:00 2001 From: Dhiru Kholia Date: Sun, 6 Feb 2022 13:30:01 +0530 Subject: [PATCH] Fix a memory leak in decode_ft8.c This fix is useful when ft8_lib is used as a library. --- decode_ft8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/decode_ft8.c b/decode_ft8.c index a0a4562..8b84b87 100644 --- a/decode_ft8.c +++ b/decode_ft8.c @@ -383,5 +383,7 @@ int main(int argc, char** argv) } LOG(LOG_INFO, "Decoded %d messages\n", num_decoded); + monitor_free(&mon); + return 0; }