diff --git a/main/channel.c b/main/channel.c index 2b90ef49443ebb8a4a5845d08658138c9427760b..37e547914f79ac4ec480d14b846b3807d9d76fc9 100644 --- a/main/channel.c +++ b/main/channel.c @@ -4323,7 +4323,7 @@ int ast_indicate_data(struct ast_channel *chan, int _condition, awesome_frame = ast_frdup(&frame); /* who knows what we will get back! the anticipation is killing me. */ - if (!(awesome_frame = ast_framehook_list_read_event(chan->framehooks, &frame))) { + if (!(awesome_frame = ast_framehook_list_read_event(chan->framehooks, awesome_frame))) { res = 0; goto indicate_cleanup; }