]> git.ipfire.org Git - thirdparty/pdns.git/commit
auth: Don't try to deallocate empty PG statements 4206/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 19 Jul 2016 08:50:43 +0000 (10:50 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 19 Jul 2016 08:50:43 +0000 (10:50 +0200)
commit7ca4e21c15b151f35717ab8d8c59a521f9a6cb7b
tree600ce374651a305591c1dfe689372346ef9c920f
parent41f6e66b8a15cf60f539f3bcbf8c4cdce6a87f7d
auth: Don't try to deallocate empty PG statements

When a SPgSQLStatement is released without having been prepared,
we execute an invalid 'DEALLOCATE ' SQL command. This might happen
if the statement has not been used before being destroyed, for example.
modules/gpgsqlbackend/spgsql.cc