diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-10 18:05:24 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-10 18:05:24 +0200 |
commit | 1dbdee7c774dd20e4653efc6871ddef5adce2785 (patch) | |
tree | 2a8ac42118550992e2e342a951330e2ffb5fa332 /runtime/wti.c | |
parent | 0290be816e683a711fc3c3a73a2ec79b804cfc8b (diff) | |
download | rsyslog-1dbdee7c774dd20e4653efc6871ddef5adce2785.tar.gz rsyslog-1dbdee7c774dd20e4653efc6871ddef5adce2785.tar.bz2 rsyslog-1dbdee7c774dd20e4653efc6871ddef5adce2785.zip |
fixed a small memory leak...
and another problem, both introduced today. Also did some general cleanup.
Diffstat (limited to 'runtime/wti.c')
-rw-r--r-- | runtime/wti.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/wti.c b/runtime/wti.c index 544bffa7..18767ea1 100644 --- a/runtime/wti.c +++ b/runtime/wti.c @@ -201,8 +201,7 @@ CODESTARTobjDestruct(wti) pthread_cond_destroy(&pThis->condExitDone); pthread_mutex_destroy(&pThis->mut); - if(pThis->pszDbgHdr != NULL) - free(pThis->pszDbgHdr); + free(pThis->pszDbgHdr); ENDobjDestruct(wti) |