@tklein23 brought up a few days ago in this issue #1268 that reference counting fails
with objects from the stack and this seemed to be the normal behaviour. I don't understand
then why it is fine to use it here with this variable of type CFactorGraph.