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:
William Casarin
2024-11-22 23:27:14 -08:00
committed by Daniel D’Aquino
parent 02df1e209b
commit 4bf9160502

View File

@@ -4101,7 +4101,7 @@ static void *ndb_writer_thread(void *data)
free(msg->note.note);
} else if (msg->type == NDB_WRITER_PROFILE) {
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) {
ndb_blocks_free(msg->blocks.blocks);
}