Skip to content

Commit

Permalink
Merge pull request #119 from eparshut/master
Browse files Browse the repository at this point in the history
Fix memory leak in reference collector
  • Loading branch information
ekovanova committed Dec 19, 2023
2 parents 397ab71 + 00c43fe commit a97a297
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ittnotify_refcol/itt_refcol_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ void ref_col_init()
sprintf(file_name_buffer,"/tmp/%s", log_file);
#endif
}
free(log_file);

g_ref_collector_logger.file_name = file_name_buffer;
g_ref_collector_logger.init_state = 1;
Expand Down

0 comments on commit a97a297

Please sign in to comment.