]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/postgresql_store_utils.cpp
Stupid comments erased
[stg.git] / projects / stargazer / plugins / store / postgresql / postgresql_store_utils.cpp
index 28a17895b0eb770ccccf6c18813957ed586815f4..c36df0cd02efa1600ee39f032315f6c970585abe 100644 (file)
@@ -31,8 +31,7 @@
 
 #include <libpq-fe.h>
 
-#include "common.h"
-
+#include "stg/common.h"
 #include "postgresql_store.h"
 
 int POSTGRESQL_STORE::StartTransaction() const
@@ -101,7 +100,7 @@ if (error)
     {
     strError = PQerrorMessage(connection);
     printfd(__FILE__, "POSTGRESQL_STORE::EscapeString(): '%s'\n", strError.c_str());
-    delete buf;
+    delete[] buf;
     return -1;
     }