diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-06 00:42:17 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-06 00:42:17 +0000 |
commit | b0e167626a80d4d553630fed99c677b04cfd6e63 (patch) | |
tree | 4b3b2b63989883faab7a098de0ef23ba9bd08048 /libpqpp | |
parent | Fix connection leak on connect failure (diff) | |
download | libdbpp-postgresql-b0e167626a80d4d553630fed99c677b04cfd6e63.tar.bz2 libdbpp-postgresql-b0e167626a80d4d553630fed99c677b04cfd6e63.tar.xz libdbpp-postgresql-b0e167626a80d4d553630fed99c677b04cfd6e63.zip |
Fix leak of error message in exceptionlibdbpp-postgresql-0.9.3
Diffstat (limited to 'libpqpp')
-rw-r--r-- | libpqpp/error.cpp | 1 |
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 * |