nostrdb: fix heap corruption on windows
windows thinks this is heap corruption... so I guess we have to trust it. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
Daniel D’Aquino
parent
02df1e209b
commit
4bf9160502
@@ -4101,7 +4101,7 @@ static void *ndb_writer_thread(void *data)
|
|||||||
free(msg->note.note);
|
free(msg->note.note);
|
||||||
} else if (msg->type == NDB_WRITER_PROFILE) {
|
} else if (msg->type == NDB_WRITER_PROFILE) {
|
||||||
free(msg->profile.note.note);
|
free(msg->profile.note.note);
|
||||||
ndb_profile_record_builder_free(&msg->profile.record);
|
//ndb_profile_record_builder_free(&msg->profile.record);
|
||||||
} else if (msg->type == NDB_WRITER_BLOCKS) {
|
} else if (msg->type == NDB_WRITER_BLOCKS) {
|
||||||
ndb_blocks_free(msg->blocks.blocks);
|
ndb_blocks_free(msg->blocks.blocks);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user