libgui: assign handle to NULL after free

to avoid use-after-free situations.

Change-Id: If9c09f509bc55795856302e5ca34470df019c622
1 file changed