| 794 | } windows_log_path_t; |
| 795 | |
| 796 | static void windows_log_path_close(windows_log_path_t *path) { |
| 797 | if (!path) { |
| 798 | return; |
| 799 | } |
| 800 | free(path->wide); |
| 801 | free(path->rotated); |
| 802 | free(path->lock); |
| 803 | memset(path, 0, sizeof(*path)); |
| 804 | } |
| 805 | |
| 806 | static bool windows_log_path_open(const char *log_path, windows_log_path_t *path) { |
| 807 | size_t length = 0; |
no outgoing calls
no test coverage detected