
The thread specific list removal function didn't check whether the last item was NULL before proceeding to alter the latest tail pointer.
The thread specific list removal function didn't check whether the last item was NULL before proceeding to alter the latest tail pointer.