mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 22:04:29 +00:00
msvcrt: Fix memory leak in create_locinfo.
This commit is contained in:
parent
85317b51cb
commit
46596db7ed
|
@ -1959,6 +1959,9 @@ static pthreadlocinfo create_locinfo(int category,
|
|||
InterlockedIncrement(&locinfo->lc_time_curr->refcount);
|
||||
}
|
||||
|
||||
for (i = 0; i < LC_MAX; i++)
|
||||
free(locale_sname[i]);
|
||||
|
||||
return locinfo;
|
||||
|
||||
fail:
|
||||
|
|
Loading…
Reference in a new issue