diff options
author | Tiago Vignatti <tiago.vignatti@intel.com> | 2011-07-21 16:35:38 +0300 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-07-21 08:42:58 -0700 |
commit | 79caa757c987e228b84fa8d1e0419890db4a5ed3 (patch) | |
tree | 40a3876379ad5efbb65a81a29057f6dc60e47fc2 | |
parent | 1d266036334fba8d0488d7b91707541c3d9efa99 (diff) |
simple-shm: assert display conection
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
-rw-r--r-- | clients/simple-shm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/simple-shm.c b/clients/simple-shm.c index d8a5772..56742fa 100644 --- a/clients/simple-shm.c +++ b/clients/simple-shm.c @@ -198,6 +198,7 @@ create_display(void) display = malloc(sizeof *display); display->display = wl_display_connect(NULL); + assert(display->display); wl_display_add_global_listener(display->display, display_handle_global, display); |