summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-12 11:06:37 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-12 11:06:37 +0000
commit68c6599368cb946088b850bcf47980f9e8b7016b (patch)
tree805dfc486cd2c4302330ec9e7bb6543bbcc1c9f6
parent71d69002c6899845b8f5326ab5cf2f5aef691668 (diff)
downloadrsyslog-68c6599368cb946088b850bcf47980f9e8b7016b.tar.gz
rsyslog-68c6599368cb946088b850bcf47980f9e8b7016b.tar.xz
rsyslog-68c6599368cb946088b850bcf47980f9e8b7016b.zip
fix for memory leak with PostgreSQL date format was incomplete - corected
-rw-r--r--msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/msg.c b/msg.c
index bfd9c13a..d9128478 100644
--- a/msg.c
+++ b/msg.c
@@ -169,6 +169,8 @@ void MsgDestruct(msg_t * pM)
free(pM->pszTIMESTAMP3339);
if(pM->pszTIMESTAMP_MySQL != NULL)
free(pM->pszTIMESTAMP_MySQL);
+ if(pM->pszTIMESTAMP_PgSQL != NULL)
+ free(pM->pszTIMESTAMP_PgSQL);
if(pM->pszPRI != NULL)
free(pM->pszPRI);
if(pM->pCSProgName != NULL)