Clear layout pointer after deletion
author Christoph Feck
committer Christoph Feck
commit b6dbabf76a355dfee869ff076d50cce25184b57c
tree 0d554c418fe422138248c49008b6c0e1e95844d7
parent 8ca9b395f8fe5c2e92ff7eea11cbe783c8d5ff85
Clear layout pointer after deletion

This appearantly works around a double-deletion issue. Until the
real cause has been found, I commit this change based on a patch
by Raul Fernandes to 4.7 branch.

Thanks Raul for investigation and patch!

CCBUG: 275286