diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-12 11:06:37 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-12 11:06:37 +0000 |
commit | 68c6599368cb946088b850bcf47980f9e8b7016b (patch) | |
tree | 805dfc486cd2c4302330ec9e7bb6543bbcc1c9f6 | |
parent | 71d69002c6899845b8f5326ab5cf2f5aef691668 (diff) | |
download | rsyslog-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |