lpszEnvironmentBlock = (LPCH) malloc(cchEnvironmentBlock * sizeof(CHAR));
if (!lpszEnvironmentBlock)
+ {
+ free (mergeStrings);
return NULL;
+ }
envp = original;
if (!tmp)
{
- if (lpszEnvironmentBlock)
- free (lpszEnvironmentBlock);
+ free (lpszEnvironmentBlock);
+ free (mergeStrings);
return NULL;
}
lpszEnvironmentBlock = tmp;
{
if (lpszEnvironmentBlock)
free(lpszEnvironmentBlock);
+ free (mergeStrings);
return NULL;
}
lpszEnvironmentBlock = tmp;
{
if (lpszEnvironmentBlock)
free(lpszEnvironmentBlock);
+ free (mergeStrings);
return NULL;
}