/[Apache-SVN]
ViewVC logotype

Revision 1062872


Jump to revision: Previous Next
Author: brucem
Date: Mon Jan 24 16:52:09 2011 UTC (13 years, 3 months ago)
Changed paths: 2
Log Message:
AVRO-745. Fixed memory bug in bytes/string/fixed values.

The avro_bytes_set function (and its string and fixed counterparts) are
supposed to save a copy of the value, which the avro_datum_t instance
takes full control over.  Unfortunately, we were making that copy but
then saving the original pointer, which would lead to a segfault when
freeing the datum.  Whoops...

Changed paths

Path Details
Directoryavro/trunk/lang/c/src/datum.c modified , text changed
Directoryavro/trunk/lang/c/tests/test_avro_data.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26