struct bt_notification_iterator *iterator)
{
int heap_ret;
- struct bt_ctf_stream *stream;
+ struct bt_ctf_stream *stream = NULL;
struct ctf_fs_stream *fs_stream;
struct bt_notification *notification;
struct bt_notification *next_stream_notification;
*/
end:
BT_MOVE(ctf_it->current_notification, notification);
+ bt_put(stream);
return ret;
}