diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-12-01 09:54:23 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-12-01 09:54:23 (GMT) |
commit | 6c8d6127d29266310ee797a19f3388ca7daadd92 (patch) | |
tree | fe36289ccab8a5ed3b4ab32ff1eb01ce82484b8e /mkspecs | |
parent | 700a069591d29733609e619c224861ca774bfb32 (diff) | |
download | Qt-6c8d6127d29266310ee797a19f3388ca7daadd92.zip Qt-6c8d6127d29266310ee797a19f3388ca7daadd92.tar.gz Qt-6c8d6127d29266310ee797a19f3388ca7daadd92.tar.bz2 |
Make sure file descriptors are valid in the dnotify implementation of QFileSystemWatcher
Commit 71c3227ba260b964b0c9516f05ad4f2e6fa72f69 fixed a memory leak by
calling closedir(), which would also close the file descriptor we were
wanting to watch. Fix this by duplicating the file descriptor that we
store.
Reviewed-by: TrustMe
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions