bus: arm-ccn: Move event cleanup routine
authorPawel Moll <mail@pawelmoll.com>
Tue, 2 Sep 2014 15:26:11 +0000 (16:26 +0100)
committerKevin Hilman <khilman@linaro.org>
Fri, 5 Sep 2014 20:25:01 +0000 (13:25 -0700)
The function cleaning up an initialized event
was called from the "event_del" handler, instead
of being used as the "destroy" callback. In case of
events group allocation this caused NULL pointer
dereference (as events are added and deleted
multiple times then). Fixed now.

Signed-off-by: Pawel Moll <mail@pawelmoll.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>

No differences found