diff options
author | randomdan <randomdan@localhost> | 2012-07-09 18:26:22 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2012-07-09 18:26:22 +0000 |
commit | b356e332ac5fbda88c85553e7ec029c6fe493cf8 (patch) | |
tree | e25f043538a79c7495126280d0589f23f9c1be29 /libpqpp/command.cpp | |
parent | A stream interface, an RDBMS bulk load interface, a decompression layer, an i... (diff) | |
download | libdbpp-postgresql-b356e332ac5fbda88c85553e7ec029c6fe493cf8.tar.bz2 libdbpp-postgresql-b356e332ac5fbda88c85553e7ec029c6fe493cf8.tar.xz libdbpp-postgresql-b356e332ac5fbda88c85553e7ec029c6fe493cf8.zip |
Fixes suggested by cppcheck
Diffstat (limited to 'libpqpp/command.cpp')
-rw-r--r-- | libpqpp/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/command.cpp b/libpqpp/command.cpp index 6edc090..f8dad14 100644 --- a/libpqpp/command.cpp +++ b/libpqpp/command.cpp @@ -19,7 +19,7 @@ PQ::Command::Command(const Connection * conn, const std::string & sql, unsigned PQ::Command::~Command() { - for (std::vector<char *>::const_iterator i = values.begin(); i != values.end(); i++) { + for (std::vector<char *>::const_iterator i = values.begin(); i != values.end(); ++i) { free(*i); } } |