g_free(block->ref);
block->ref = name;
- /* block->type = BLUESKY_BLOCK_CACHED; */
- bluesky_string_unref(block->data);
- block->data = NULL;
- block->type = BLUESKY_BLOCK_REF;
+ block->type = BLUESKY_BLOCK_CACHED;
g_checksum_free(csum);
- //bluesky_string_unref(data);
}
/* Flush all blocks in a file to stable storage. */