| # | Line 171 | Line 171 | SDloadFile(SDData *sd, const char *fname) | |
|---|---|---|
| 171 | } | |
| 172 | /* load geometry if present */ | |
| 173 | lastErr = SDloadGeometry(sd, ezxml_child(wtl, "Material")); | |
| 174 | < | if (lastErr) |
| 174 | > | if (lastErr) { |
| 175 | > | ezxml_free(fl); |
| 176 | return lastErr; | |
| 177 | + | } |
| 178 | /* try loading variable resolution data */ | |
| 179 | lastErr = SDloadTre(sd, wtl); | |
| 180 | /* check our result */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |