- 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 Williams 1999-05-14 21:36:16 +00:00
parent b2e3e4382d
commit 283f072c78
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 **