Skip to content

Commit

Permalink
pmc: release the message cache on exit.
Browse files Browse the repository at this point in the history
This makes valgrind happier by freeing any cached message buffers.

Signed-off-by: Richard Cochran <[email protected]>
  • Loading branch information
richardcochran committed Jul 23, 2013
1 parent a3762c5 commit b74e467
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,5 +830,6 @@ int main(int argc, char *argv[])
}

pmc_destroy(pmc);
msg_cleanup();
return 0;
}

0 comments on commit b74e467

Please sign in to comment.