Skip to content

Commit

Permalink
add missing GRN_IO_SEG_UNREF(). #846
Browse files Browse the repository at this point in the history
  • Loading branch information
kou authored and daijiro committed Feb 1, 2011
1 parent bfa46d0 commit da89615
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/store.c
Expand Up @@ -508,6 +508,7 @@ grn_ja_replace(grn_ctx *ctx, grn_ja *ja, grn_id id, grn_ja_einfo *ei, uint64_t *
eback = einfo[pos];
if (cas && *cas != *((uint64_t *)&eback)) {
ERR(GRN_CAS_ERROR, "cas failed (%d)", id);
GRN_IO_SEG_UNREF(ja->io, *pseg);
goto exit;
}
// smb_wmb();
Expand Down

0 comments on commit da89615

Please sign in to comment.