Commit c148ac56 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Win32: fix malloc when creating a thread

parent a567bae6
......@@ -515,7 +515,7 @@ int vlc_clone (vlc_thread_t *p_handle, void * (*entry) (void *), void *data,
* memory leaks and the signal functions not working (see Microsoft
* Knowledge Base, article 104641) */
HANDLE hThread;
vlc_thread_t th = malloc (sizeof (*p_handle));
vlc_thread_t th = malloc (sizeof (*th));
if (th == NULL)
return ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment