input-device: Guard against double free
input-device: Guard against double free

Dispose() may be called more than once, so calling g_free directly
on the device name is unsafe. Instead, use g_clear_pointer() to
make sure we don't attempt to free the memory again.

https://bugzilla.gnome.org/show_bug.cgi?id=719563

ebassi/clutter,GNOME/clutter,ebassi/clutter,jigpu/clutter,Distrotech/clutter,jigpu/clutter,Distrotech/clutter,Distrotech/clutter,GNOME/clutter,GNOME/clutter,djdeath/clutter,ebassi/clutter,djdeath/clutter,jigpu/clutter,Distrotech/clutter,djdeath/clutter,GNOME/clutter,djdeath/clutter,jigpu/clutter,GNOME/clutter,jigpu/clutter,ebassi/clutter,Distrotech/clutter,djdeath/clutter,Distrotech/clutter,jigpu/clutter,ebassi/clutter,djdeath/clutter