summaryrefslogtreecommitdiff
path: root/libpqpp/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/command.cpp')
-rw-r--r--libpqpp/command.cpp2
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);
}
}