rengolin/HPCC-Platform — comment on commit f795d761b14358dae4fcaf71d201c79b45ba5019
File: dali/base/dadfs.cpp line 6709
By rengolin:

It's not trivial (and I don't like it either), but transaction is being passed on the c-tor and it chains to CDAction's ctor that calls:
```transaction->addAction(this)```, which then owns the action and will clean it up afterwards.

When you call ```transaction->commit()``` it'll run them all and kill the action's array, freeing memory.

I prefer a more verbose approach:

transaction->addAction(new cCreateSuper...);

but that's to be changed later.