compositor: destroy all input binding objects on shutdown
authorPekka Paalanen <ppaalanen@gmail.com>
Mon, 2 Jan 2012 13:47:07 +0000 (15:47 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Mon, 2 Jan 2012 13:47:07 +0000 (15:47 +0200)
commit4738f3b1ea433ad8a9ab8550e557e43efaa28362
tree1f2593f08805d96bec833d9a4f609bf1a99ab845
parentcc9102edc5d13a6cf2608163ad91491b143f97e7
compositor: destroy all input binding objects on shutdown

wlsc_binding_destroy() was not being called at all. Fix the leaks by
introducing a function that destroys a whole list of bindings, instead
of individually saving an extra pointer to the binding object and
calling wlsc_binding_destroy() separately on each.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
compositor/compositor.c
compositor/compositor.h
compositor/util.c