trifork/riack — pull request #11 by dowski (2013-06-11 16:31:10+00:00)
Title: Put Response Handling Bugfix

Prior to this fix the key and vector clock from a RpbPutResp were not
being set on the passed in RIACK_OBJECT. This was happening because the
target and src arguments to the RMALLOCCOPY macro were swapped.

Additionally I think this was probably causing a memory leak because the
source len and data pointers were getting overwritten with 0 and thus
the memory that was allocated for them on the heap was no longer
referenced anywhere for freeing.