No need to examine this patch, it's completely wrong. Since the old _int_free API is removed, so I try to replace it with __libc_free, but I didn't take lock into account so this path will trigger dead lock.