- 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:
parent
f43ff516fd
commit
188a2f4871
@ -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 **
|
||||
|
@ -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 **
|
||||
|
@ -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 **
|
||||
|
Loading…
Reference in New Issue
Block a user