diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-11 11:38:13 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-11 11:38:13 +0000 |
commit | f584efe28b07f6d734bdf4024644bd6e0ec02e6d (patch) | |
tree | 6c0d9444cbdd5118b8482b2efe9d4693067711bb | |
parent | d497ea5d957a923ae38cbd8cd0272cf5c92e1cce (diff) | |
download | rsyslog-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |