clients: Introduce xmalloc() and use it a few places
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 25 Jul 2013 22:20:20 +0000 (15:20 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 25 Jul 2013 22:54:20 +0000 (15:54 -0700)
commitce27841be55adcb4f9219a6296c01531a2b44ffb
tree4da84e5383fff2d2406446d0d1298f7a160ab2c9
parentc0bf8173dd1140b703f00bc0c09de1901cd9a233
clients: Introduce xmalloc() and use it a few places

For the sample clients we introduce xmalloc() to simplify OOM-handling.
This patch only converts a few callsites, but this will be our strategy
going forward.
clients/clickdot.c
clients/window.c
clients/window.h