fixed bug with accessing string buffer that was already free()'ed
authorHolger Schemel <info@artsoft.org>
Thu, 30 Aug 2018 18:11:08 +0000 (20:11 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 30 Aug 2018 18:11:08 +0000 (20:11 +0200)
commitc8058770312fb6ec95cd6a57164669031bfaf2bf
tree459076f490aac2ca1d74f6abe6046e20b2d43ffa
parent187654874c567be3a92e0b53aa1df45407432265
fixed bug with accessing string buffer that was already free()'ed

The function "getNetworkLevelDir()" returns a reference to a string
buffer that will be invalidated by each following invocation. As
"InitNetworkLevelDirectory()" also calls this function, it must be
called before "getNetworkLevelDir()".
src/network.c