diff options
| author | 2006-07-20 17:16:08 +0000 | |
|---|---|---|
| committer | 2006-07-20 17:16:08 +0000 | |
| commit | 1cfd1e693a92b8289f77e7fe87261774d19e8048 (patch) | |
| tree | 2c6e8730b684f331eef0a60d17c04718a7ae5349 /src/dns.cpp | |
| parent | Move a confusing debug message within its conditional (diff) | |
Someone please take a look at this and tell me why a thread doesnt free itself like it should when it exits, freeing the ram
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4462 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
| -rw-r--r-- | src/dns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index a6e413071..a8ed78cb6 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -917,7 +917,7 @@ void* dns_task(void* arg) } if ((fd_ref_table[thisfd] == u) && (fd_ref_table[thisfd])) u->dns_done = true; - return NULL; + pthread_exit(0); } #endif |
