Initialization bug reported by Taj Khattra.
This commit is contained in:
parent
bbbc97b008
commit
64044a070a
@ -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…
Reference in New Issue
Block a user