- Fixed bug where we NULL'd before we freed the data causing a memory leak.

Submitted by:	 Ralf S. Engelschall
Obtained from:	PR i386/11713
This commit is contained in:
nate 1999-05-14 21:36:16 +00:00
parent f43ff516fd
commit 188a2f4871
3 changed files with 3 additions and 3 deletions

View File

@ -124,8 +124,8 @@ _thread_cleanupspecific(void)
}
}
}
_thread_run->specific_data = NULL;
free(_thread_run->specific_data);
_thread_run->specific_data = NULL;
}
static inline const void **

View File

@ -124,8 +124,8 @@ _thread_cleanupspecific(void)
}
}
}
_thread_run->specific_data = NULL;
free(_thread_run->specific_data);
_thread_run->specific_data = NULL;
}
static inline const void **

View File

@ -124,8 +124,8 @@ _thread_cleanupspecific(void)
}
}
}
_thread_run->specific_data = NULL;
free(_thread_run->specific_data);
_thread_run->specific_data = NULL;
}
static inline const void **