~k1n/c-icap/c-icap

Viewing all changes in revision 628.

  • Committer: chtsanti
  • Date: 2012-03-07 09:18:03 UTC
  • Revision ID: svn-v4:a5cfe682-fa50-0410-8a04-e816b4a88288:c-icap-server/trunk:837
Fix the serial_allocator_reset function

The serial_allocator holds on buffer of the head item the required memory space
for ci_mem_allocator_t struct too.
Currently the serial_allocator_reset may cause bad segmentation faults, because
allow writing over the ci_mem_allocator_t struct after reseting it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: