dbms: fixed error in prev. revision [#METR-10988].

This commit is contained in:
Alexey Milovidov 2014-04-29 07:33:10 +04:00
parent 0933f94c5d
commit 7d534675af

View File

@ -90,8 +90,10 @@ public:
}
else
{
void * new_buf = alloc(new_size);
memcpy(new_buf, buf, old_size);
free(buf, old_size);
buf = alloc(new_size);
buf = new_buf;
}