Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

fix memory leak #280

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions experiments/xattr/approach1_async.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ static int setAttr()
for (i = 0; i < CALLS; i++)
free(xkey[i]);

free(v1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please work on indentation

return rc;
}

Expand Down Expand Up @@ -342,6 +343,11 @@ int main(int argc, char **argv)
return 0;
}


static test(void) {

}

/*
* Local variables:
* c-indentation-style: "K&R"
Expand Down