Commit aa8adec2 authored by lahiker42's avatar lahiker42

Fix: change_index wasn't being cleared by deallocate.


git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@235 00440858-1255-0410-a3e6-75ea37f81c3a
parent f24915d0
......@@ -377,6 +377,7 @@ deallocate_change_index (RealDispatch *d,
unsigned ch_ind = fm->change_index;
unsigned from = d->base.n_changes - 1;
ProtobufC_FD from_fd;
fm->change_index = -1;
if (ch_ind == from)
{
d->base.n_changes--;
......
Markdown is supported
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