compositor: Don't try and destroy old pointer surface if it empty
authorRob Bradford <rob@linux.intel.com>
Thu, 5 Jan 2012 15:30:00 +0000 (15:30 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Jan 2012 15:59:44 +0000 (10:59 -0500)
commit0b17b8ec01116f64edb42d9864b2283022b342cf
treeb0f5634f368c9ecdd78db6b5d120c69db9799644
parentb07876d23a929faa5c61d9180810fedc0fcaeb51
compositor: Don't try and destroy old pointer surface if it empty

If attach was called on wl_input_device with a nil buffer twice then the
second call would cause a segfault.
src/compositor.c