8191767: Memory leak in JabSwitch
Reviewed-by: serb, ssadetsky
This commit is contained in:
parent
f968e1a670
commit
6d3672187c
@ -206,6 +206,7 @@ int modify(bool enable) {
|
||||
len - 1 > sizeof(tempPath) - sizeof(acc_props2) ) {
|
||||
printf("The USERPROFILE environment variable is too long.\n");
|
||||
printf("It must be no longer than 233 characters.\n");
|
||||
free(profilePath);
|
||||
return 123;
|
||||
}
|
||||
path[0] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user