Skip to content

Commit

Permalink
chore(tests): update note message in framework test
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Apr 25, 2024
1 parent 5004f5c commit e764241
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions t/framework.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* NOTE:
* Only this test has memory leak cause of log, conf, and multiprocess-related stuffs
*/
#include <stdio.h>
#include "mln_framework.h"

int main(int argc, char *argv[])
{
printf("NOTE: This test has memory leak because we don't release memory of log, conf and multiprocess-related stuffs.\n");
printf("In fact, `mln_framework_init` should be the last function called in `main`, so we don't need to release anything.\n");

struct mln_framework_attr cattr;
cattr.argc = argc;
cattr.argv = argv;
Expand Down

0 comments on commit e764241

Please sign in to comment.