From b74e46724edd1b62177bbc06961418b538352f43 Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Tue, 23 Jul 2013 19:56:02 +0200 Subject: [PATCH] pmc: release the message cache on exit. This makes valgrind happier by freeing any cached message buffers. Signed-off-by: Richard Cochran --- pmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pmc.c b/pmc.c index 59e087b..3a6d697 100644 --- a/pmc.c +++ b/pmc.c @@ -830,5 +830,6 @@ int main(int argc, char *argv[]) } pmc_destroy(pmc); + msg_cleanup(); return 0; }