display: remove dangling pointer
It just holds a reference to the primary surface which is being removed and freed from the hash table. This ends up generating a warning below in the same function before setting the new primary surface reference.
Signed-off-by: Victor Toso victortoso@redhat.com