nostrdb: mem: re-enable profile freeing

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-11 12:34:14 -07:00
committed by Daniel D’Aquino
parent 42a0f2c08d
commit 66e10db6b2

View File

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