summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-11 11:38:13 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-11 11:38:13 +0000
commitf584efe28b07f6d734bdf4024644bd6e0ec02e6d (patch)
tree6c0d9444cbdd5118b8482b2efe9d4693067711bb
parentd497ea5d957a923ae38cbd8cd0272cf5c92e1cce (diff)
downloadrsyslog-f584efe28b07f6d734bdf4024644bd6e0ec02e6d.tar.gz
rsyslog-f584efe28b07f6d734bdf4024644bd6e0ec02e6d.tar.xz
rsyslog-f584efe28b07f6d734bdf4024644bd6e0ec02e6d.zip
fixed a small memory leak that happend when PostgreSQL date formatting was
used
-rw-r--r--msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/msg.c b/msg.c
index daec3cdd..bfd9c13a 100644
--- a/msg.c
+++ b/msg.c
@@ -161,6 +161,8 @@ void MsgDestruct(msg_t * pM)
free(pM->pszRcvdAt3339);
if(pM->pszRcvdAt_MySQL != NULL)
free(pM->pszRcvdAt_MySQL);
+ if(pM->pszRcvdAt_PgSQL != NULL)
+ free(pM->pszRcvdAt_PgSQL);
if(pM->pszTIMESTAMP3164 != NULL)
free(pM->pszTIMESTAMP3164);
if(pM->pszTIMESTAMP3339 != NULL)