summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a3dde80)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
/* find or create the bt_callback_chain for this event */
if (event_id >= bt_stream_cb->per_id_callbacks->len) {
/* find or create the bt_callback_chain for this event */
if (event_id >= bt_stream_cb->per_id_callbacks->len) {
- g_array_set_size(bt_stream_cb->per_id_callbacks, event_id);
+ g_array_set_size(bt_stream_cb->per_id_callbacks, event_id + 1);
}
bt_chain = &g_array_index(bt_stream_cb->per_id_callbacks,
struct bt_callback_chain, event_id);
}
bt_chain = &g_array_index(bt_stream_cb->per_id_callbacks,
struct bt_callback_chain, event_id);