I have a TreeView connected with a ListStore object. One of the function calls ListStore.get_iter_next(). Since the ListStore data changes every time, I am doubtful that iter is causing a memory leak.
I need to check if the ListStore has gtk.TREE_MODEL_ITERS_PERSIST flag set and unset it as described in TreeModel.get_flags() documentation.
How could I do that?