summaryrefslogtreecommitdiff
path: root/libpqpp/error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/error.cpp')
-rw-r--r--libpqpp/error.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpqpp/error.cpp b/libpqpp/error.cpp
index 8664b70..f2bebd6 100644
--- a/libpqpp/error.cpp
+++ b/libpqpp/error.cpp
@@ -18,6 +18,7 @@ PQ::Error::Error(const char * e) :
PQ::Error::~Error() throw()
{
+ free(msg);
}
const char *