summaryrefslogtreecommitdiffstats
path: root/doc/SplitPath.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/SplitPath.3')
-rw-r--r--doc/SplitPath.33
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/SplitPath.3 b/doc/SplitPath.3
index 6578e3d..ec8f96b 100644
--- a/doc/SplitPath.3
+++ b/doc/SplitPath.3
@@ -59,6 +59,7 @@ holds copies of all the path elements. It is the caller's
responsibility to free all of this storage.
For example, suppose that you have called \fBTcl_SplitPath\fR with the
following code:
+.PP
.CS
int argc;
char *path;
@@ -66,8 +67,10 @@ char **argv;
\&...
Tcl_SplitPath(string, &argc, &argv);
.CE
+.PP
Then you should eventually free the storage with a call like the
following:
+.PP
.CS
Tcl_Free((char *) argv);
.CE