From 9baba54e426108683f706dced3c36059588bc077 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 8 Dec 2010 15:27:35 +0200 Subject: [PATCH] =?utf8?q?=D0=92=20=D1=83=D1=82=D0=B8=D0=BB=D0=B8=D1=82?= =?utf8?q?=D0=B5=20=D1=8D=D0=BA=D1=80=D0=B0=D0=BD=D0=B8=D1=80=D0=BE=D0=B2?= =?utf8?q?=D0=B0=D0=BD=D0=B8=D1=8F=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=D0=B8?= =?utf8?q?=20=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D1=8F=20store=5Fpostgresql=20?= =?utf8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BE=20?= =?utf8?q?=D0=BD=D0=B5=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C=D0=BD?= =?utf8?q?=D0=BE=D0=B5=20=D0=BE=D1=81=D0=B2=D0=BE=D0=B1=D0=BE=D0=B6=D0=B4?= =?utf8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=B0=D0=BC=D1=8F=D1=82=D0=B8?= =?utf8?q?=20=D0=B7=D0=B0=D0=BD=D1=8B=D1=82=D0=BE=D0=B9=20=D0=BF=D0=BE?= =?utf8?q?=D0=B4=20=D0=B1=D1=83=D1=84=D0=B5=D1=80=20(=D0=B8=D1=81=D0=BF?= =?utf8?q?=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0=BB=D1=81=D1=8F=20?= =?utf8?q?=20=20=20=20=20=20=20=20=D0=BE=D0=BF=D0=B5=D1=80=D0=B0=D1=82?= =?utf8?q?=D0=BE=D1=80=20delete=20=D0=B2=D0=BC=D0=B5=D1=82=D0=BE=20=D0=BE?= =?utf8?q?=D0=BF=D0=B5=D1=80=D0=B0=D1=82=D0=BE=D1=80=D0=B0=20delete[])?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../plugins/store/postgresql/postgresql_store_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/store/postgresql/postgresql_store_utils.cpp b/projects/stargazer/plugins/store/postgresql/postgresql_store_utils.cpp index 28a17895..7c0755a7 100644 --- a/projects/stargazer/plugins/store/postgresql/postgresql_store_utils.cpp +++ b/projects/stargazer/plugins/store/postgresql/postgresql_store_utils.cpp @@ -101,7 +101,7 @@ if (error) { strError = PQerrorMessage(connection); printfd(__FILE__, "POSTGRESQL_STORE::EscapeString(): '%s'\n", strError.c_str()); - delete buf; + delete[] buf; return -1; } -- 2.43.2