diff options
author | rsc <devnull@localhost> | 2004-03-21 20:42:11 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-03-21 20:42:11 +0000 |
commit | 64044a070aab10224b1ccfc1a974887d5ec0c7aa (patch) | |
tree | 4959d865ba1912223e1a01cc4906062af06b5cbd /src/cmd/9term | |
parent | bbbc97b008d49b99cb0f1abdc6aee17a77086326 (diff) | |
download | plan9port-64044a070aab10224b1ccfc1a974887d5ec0c7aa.tar.gz plan9port-64044a070aab10224b1ccfc1a974887d5ec0c7aa.tar.bz2 plan9port-64044a070aab10224b1ccfc1a974887d5ec0c7aa.zip |
Initialization bug reported by Taj Khattra.
Diffstat (limited to 'src/cmd/9term')
-rw-r--r-- | src/cmd/9term/9term.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index 5c768764..c5a2c424 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -1536,6 +1536,7 @@ plumb(uint q0, uint q1) pm->dst = 0; pm->wdir = strdup(w); pm->type = strdup("text"); + pm->data = nil; if(q1 > q0) pm->attr = nil; else{ |