- 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
b2e3e4382d
commit
283f072c78
@ -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