http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59807

--- Comment #1 from Andrey H. <ahanins at gmail dot com> ---
Simplest code which leaks handles on Windows:

for(;;) {
  std::mutex op_mutex;
  op_mutex.lock();
  op_mutex.unlock();
}

Reply via email to