]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix Leash build error with recent Visual Studio
authorGreg Hudson <ghudson@mit.edu>
Mon, 7 May 2018 02:29:40 +0000 (22:29 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sun, 13 May 2018 03:50:34 +0000 (23:50 -0400)
commite7315768eb52ad44e73ff1c51ef18fe5371412fc
tree94253a986b5653637b25a8719f6763cf611d1312
parenteb46a725a0236ee275ee97c739cef475623d42c6
Fix Leash build error with recent Visual Studio

Visual Studio 2015 and later do not allow manipulation of the _flag
field inside a file handle.  In Leash's out2con.cpp (used only for the
debugging -console flag), do not try to mark the allocated file handle
as free after copying it to *stdout; a one-time memory leak here is
unimportant.

ticket: 8679 (new)
src/windows/leash/out2con.cpp