rengolin/HPCC-Platform — comment on commit e49e75053098967804d0010dca1052ffe15c9f03
File: dali/base/dadfs.cpp line 2085
By ghalliday:

I don't think you can remove the cur member and use a local.

query() doesn't link the result, which means that if the lookup functions created a temporary result it would be freed.