Changeset 103398 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Feb 16, 2024 10:10:54 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/getoptargv.cpp
r99124 r103398 443 443 papszArgs = (char **)RTMemAlloc(1 * sizeof(char *)); 444 444 if (!papszArgs) 445 return VERR_NO_MEMORY; 445 return VERR_NO_MEMORY; /* (parfait is wrong about leak here (of other papszArgs alloc)) */ 446 446 } 447 447 papszArgs[iArg] = NULL; … … 449 449 *pcArgs = iArg; 450 450 *ppapszArgv = papszArgs; 451 return VINF_SUCCESS; 451 return VINF_SUCCESS; /* (parfait is wrong about any pszDup & papszArgv leaks here, they are intentional) */ 452 452 } 453 453
Note:
See TracChangeset
for help on using the changeset viewer.