diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-07 12:09:41 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-07 12:09:41 +0200 |
commit | f53aa966e1fad03c478de342f5a878e57405de13 (patch) | |
tree | e9da164a635aed6f0ee72d107505e0fe3ed44108 /runtime/debug.c | |
parent | 53aa68fc7d78279ab1af88de253a6134fc7ef00d (diff) | |
download | rsyslog-f53aa966e1fad03c478de342f5a878e57405de13.tar.gz rsyslog-f53aa966e1fad03c478de342f5a878e57405de13.tar.xz rsyslog-f53aa966e1fad03c478de342f5a878e57405de13.zip |
solved a race condition
Diffstat (limited to 'runtime/debug.c')
-rw-r--r-- | runtime/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/debug.c b/runtime/debug.c index 4ee90226..ded1c218 100644 --- a/runtime/debug.c +++ b/runtime/debug.c @@ -732,6 +732,8 @@ static void dbgGetThrdName(char *pszBuf, size_t lenBuf, pthread_t thrd, int bInc */ void dbgSetThrdName(uchar *pszName) { +return; + dbgThrdInfo_t *pThrd = dbgGetThrdInfo(); if(pThrd->pszThrdName != NULL) free(pThrd->pszThrdName); |