Use safe loop for freeing client files.

This commit is contained in:
Nicholas Marriott
2020-05-13 21:11:46 +01:00
parent e6d9f3f90c
commit 09a2246b00
2 changed files with 4 additions and 5 deletions

2
tmux.h
View File

@ -1506,7 +1506,7 @@ struct client_file {
client_file_cb cb;
void *data;
RB_ENTRY (client_file) entry;
RB_ENTRY(client_file) entry;
};
RB_HEAD(client_files, client_file);