Overview
| Artifact ID: | 17730417b342b83849280a3fd547b575857308b2 |
|---|---|
| Ticket: | 2918610fffffffffffffffffffffffffffffffff
Wrong file opened |
| User & Date: | ferrieux on 2009-12-22 17:52:18 |
Changes
- icomment:
Rather than chasing the whereabouts of the various flags (which have a right to exist anyway), I prefer to fix the broken code. Attached patch does this by invalidating both the translated and native paths after the duplication. I am uneasy about the freeing of the native path though. Currently it is freed only if the fsRecPtr *and* associated freeIntRepProc are not-null, but in any case the nativepathPtr is reset to NULL. So there's a potential leak if either of the above fs-related pointers is null. But I didn't find any example of freeing code doing more. Is it correct ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"