Closed fpedd closed 3 years ago
Did you check if data pointer is created and not NIL?
Issue closed since no reader void *data = reader->type().create_data();
is used anymore. However, the problem arises if reader will be deleted even if data is empty.
In
void Listener::on_data_available(DataReader* reader)
we createvoid* data = reader->type().create_data();
. However, when trying toreader->type().delete_data(data);
we get a segfault. Therefore it is commented out for now and marked withTODO
. For now not deleting data does not cause any negative side effects.