libwinpr: fix lost of mergeStrings.

Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
This commit is contained in:
Zhang Zhaolong 2015-03-13 10:38:07 +08:00
parent 5b2a8ee873
commit ea67d8b1bc

View File

@ -350,6 +350,7 @@ LPCH MergeEnvironmentStrings(PCSTR original, PCSTR merge)
free(mergeStrings);
return NULL;
}
mergeStrings = new_str;
}
mergeStrings[mergeStringLength] = cp;