From b356e332ac5fbda88c85553e7ec029c6fe493cf8 Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 9 Jul 2012 18:26:22 +0000 Subject: Fixes suggested by cppcheck --- libpqpp/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp/command.cpp') 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::const_iterator i = values.begin(); i != values.end(); i++) { + for (std::vector::const_iterator i = values.begin(); i != values.end(); ++i) { free(*i); } } -- cgit v1.2.3