libwinpr: fix lost of mergeStrings.
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
This commit is contained in:
parent
5b2a8ee873
commit
ea67d8b1bc
@ -350,6 +350,7 @@ LPCH MergeEnvironmentStrings(PCSTR original, PCSTR merge)
|
||||
free(mergeStrings);
|
||||
return NULL;
|
||||
}
|
||||
mergeStrings = new_str;
|
||||
}
|
||||
|
||||
mergeStrings[mergeStringLength] = cp;
|
||||
|
Loading…
Reference in New Issue
Block a user