Skip to content

Commit b72d185

Browse files
codypssofar
authored andcommitted
avoid leaking ps_first
1 parent cf1f63d commit b72d185

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/bootchart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ int main(int argc, char *argv[]) {
525525
free(ps->cgroup);
526526
free(ps->sample);
527527
free(ps);
528+
free(ps_first);
528529

529530
sampledata = head;
530531
while (sampledata->link_prev) {

0 commit comments

Comments
 (0)