| To: | pro64-contrib@xxxxxxxxxxx |
|---|---|
| Subject: | patch for wn_lower.cxx: bad deallocation of map ids |
| From: | David Goodwin <goodwin@xxxxxxxxxxxxx> |
| Date: | Thu, 8 Mar 2001 13:33:56 -0800 (PST) |
| Cc: | goodwin@xxxxxxxxxxxxx |
| Reply-to: | goodwin@xxxxxxxxxxxxx |
| Sender: | owner-pro64-contrib@xxxxxxxxxxx |
Here's a patch for a problem (I think) in wn_lower.cxx.
*** wn_lower.cxx.old Thu Mar 8 13:30:47 2001
--- wn_lower.cxx Thu Mar 8 13:31:34 2001
***************
*** 10568,10574 ****
if (RID_rwn(rid) == tree)
RID_rwn(rid) = n_tree;
}
! WN_Delete(tree);
tree = n_tree;
}
}
--- 10568,10577 ----
if (RID_rwn(rid) == tree)
RID_rwn(rid) = n_tree;
}
! /* We can't delete 'tree' since that would free the map id's
! associated with 'tree' even though 'n_tree' is now using
! them. */
! // WN_Delete(tree);
tree = n_tree;
}
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Parse error handling error, Chandrasekhar Murthy |
|---|---|
| Next by Date: | Re: patch for wn_lower.cxx: bad deallocation of map ids, Chandrasekhar Murthy |
| Previous by Thread: | Missing gccfe files, Sunil Raina |
| Next by Thread: | Re: patch for wn_lower.cxx: bad deallocation of map ids, Chandrasekhar Murthy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |