https://github.com/Microsoft/CNTK
Revision 10c4802f4d8f4bafd577e6541ccb6d96ad66c14a authored by Scott Cyphers on 03 August 2015, 18:41:18 UTC, committed by Scott Cyphers on 03 August 2015, 18:41:18 UTC
Use of static constructors in headers cause the constructors/destructors to be
run in each compilation unit that includes the headers.  The multiple
constructors runs are leaks, the multiple destructor runs are multiple-frees
at program exit time.  These string constructors can instead use const char*
with little impact on the methods that reference them.
1 parent 0dbcf94
History
Tip revision: 10c4802f4d8f4bafd577e6541ccb6d96ad66c14a authored by Scott Cyphers on 03 August 2015, 18:41:18 UTC
Fix multiple-free problem.
Tip revision: 10c4802

back to top