the endless quest to plug memory leaks -- episode 378
This commit is contained in:
@@ -146,7 +146,7 @@ pthread_set_name (const char *str)
|
||||
{
|
||||
/* copy string and delete it when exiting */
|
||||
|
||||
thread_name.set (strdup (str));
|
||||
thread_name.set (strdup (str)); // leaks
|
||||
}
|
||||
|
||||
const char *
|
||||
|
||||
Reference in New Issue
Block a user