Commit eb03fc39 authored by Amos Wenger's avatar Amos Wenger

free shBuf

parent 27610b27
Pipeline #1617 passed with stages
in 12 seconds
......@@ -295,6 +295,7 @@ int runas(int argc, char** argv) {
memcpy(currentManipEnvSz, shBuf, sizeof(wchar_t) * (wcslen(shBuf)));
currentManipEnvSz += sizeof(wchar_t) * (wcslen(shBuf));
free(shBuf);
memcpy(currentManipEnvSz, terminator, sizeof(wchar_t));
currentManipEnvSz += sizeof(wchar_t) * 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment