chiark / gitweb /
terminal: verify grdev tiles are correctly linked
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Sep 2014 11:40:18 +0000 (13:40 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Sep 2014 18:05:45 +0000 (20:05 +0200)
commitc5e6bfc6bc46dd8bc187e035929d6a49cd23ec09
tree9233426b156db10e6c9abb6a00129fa366a4a4b2
parentb4170aed36e667e52ce4a353bda1964e3872ab34
terminal: verify grdev tiles are correctly linked

We used to set "pipe->tile = tile" inside of the leaf allocation. We no
longer do that. Verify that "out" is non-NULL, otherwise we'd leak memory.

This is currently always given, but make sure to add an assert(), so
coverity does not complain.
src/libsystemd-terminal/grdev.c