Initialization bug reported by Taj Khattra.
This commit is contained in:
parent
bbbc97b008
commit
64044a070a
1 changed files with 1 additions and 0 deletions
|
|
@ -1536,6 +1536,7 @@ plumb(uint q0, uint q1)
|
||||||
pm->dst = 0;
|
pm->dst = 0;
|
||||||
pm->wdir = strdup(w);
|
pm->wdir = strdup(w);
|
||||||
pm->type = strdup("text");
|
pm->type = strdup("text");
|
||||||
|
pm->data = nil;
|
||||||
if(q1 > q0)
|
if(q1 > q0)
|
||||||
pm->attr = nil;
|
pm->attr = nil;
|
||||||
else{
|
else{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue