the endless quest to plug memory leaks -- episode 378

This commit is contained in:
Robin Gareus 2016-07-25 17:16:32 +02:00
parent ac8f4baa00
commit eec294a97e
7 changed files with 64 additions and 21 deletions

View file

@ -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 *