summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorOndřej Majerech <majerech.o@gmail.com>2014-09-11 15:53:15 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-09-12 09:38:39 +0300
commit03db71caea98f8a2c5d302763289495ea2b30596 (patch)
tree813dcc7316eaa656b2737eaab62587390595307d /configure.ac
parent5e3b693a117e227e21df1826fcfe4baf2e01c08a (diff)
downloadweston-03db71caea98f8a2c5d302763289495ea2b30596.tar.gz
compositor: Don't free an uninitialised pointer.
When backend_init returns NULL, we goto out_signals, which wants to free(modules), but in this particular code path, modules hasn't been initialised leading to a "Double-free or corruption" error message. Initialising modules to NULL makes the free a no-op in this scenario. Signed-off-by: Ondřej Majerech <majerech.o@gmail.com> Reviewed-by: Ryo Munakata <ryomnktml@gmail.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions