Skip to content

Commit 4b066d4

Browse files
committed
[Backtracing] Update the comment for swift_getAuxiliaryExecutablePath()
This should have said how to release the string. rdar://103071801
1 parent f02f62f commit 4b066d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/Runtime/Paths.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ swift_getRootPath();
6969
///
7070
/// \param name The name of the executable to locate.
7171
///
72-
/// \return A string containing the full path to the executable.
72+
/// \return A string containing the full path to the executable. This string
73+
/// should be released with `free()` when no longer required.
7374
SWIFT_RUNTIME_EXPORT
7475
const char *
7576
swift_getAuxiliaryExecutablePath(const char *name);

0 commit comments

Comments
 (0)