diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-01 18:40:16 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-01 18:44:34 +0200 |
commit | 729f74b7cf06ebd44aa8d9e3192276f47055ca13 (patch) | |
tree | bb39543abae6e5e4ca929f093b662228e7c31db4 /tmpfs/tmpfs.c | |
parent | 356d52e1852c7bec071cb142352ce7b87eaac2f4 (diff) | |
download | hurd-729f74b7cf06ebd44aa8d9e3192276f47055ca13.tar.gz hurd-729f74b7cf06ebd44aa8d9e3192276f47055ca13.tar.bz2 hurd-729f74b7cf06ebd44aa8d9e3192276f47055ca13.zip |
libfshelp: destroy condition variable before freeing it
To make sure that threads have really woken up.
Spotted by Richard Braun.
* libfshelp/rlock-drop-peropen.c (fshelp_rlock_drop_peropen): Call
pthread_cond_destroy before freeing the condition variable.
* libfshelp/rlock-tweak.c (fshelp_rlock_tweak): Likewise.
Diffstat (limited to 'tmpfs/tmpfs.c')
0 files changed, 0 insertions, 0 deletions