Commit daccb9f2 authored by Szymon Romik's avatar Szymon Romik
Browse files

vector: fix error handling in _alloc()

We need to cache pmemobj_tx_alloc return value and only after that
assign it to _data, because when pmemobj_tx_alloc fails, it aborts
transaction.
parent 7969273e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment