Skip to content
Commit 8fb22264 authored by Pawel Moll's avatar Pawel Moll Committed by Kevin Hilman
Browse files

bus: arm-ccn: Move event cleanup routine



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: default avatarPawel Moll <mail@pawelmoll.com>
Signed-off-by: default avatarKevin Hilman <khilman@linaro.org>
parent 95f6e814
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment