Fixed double freeing of buffers
The buffers in readwritesplit are handled at the routeQuery level and freeing them at lower levels cause a double free of the used buffers.
This commit is contained in:
parent
d9eeb72198
commit
e731f6a29e
@ -2061,10 +2061,6 @@ static bool route_single_stmt(
|
||||
(query_str == NULL ? "(empty)" : query_str));
|
||||
free(query_str);
|
||||
succp = false;
|
||||
while(querybuf)
|
||||
{
|
||||
querybuf = GWBUF_CONSUME_ALL(querybuf);
|
||||
}
|
||||
goto retblock;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user