mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 21:44:32 +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);
|
InterlockedIncrement(&locinfo->lc_time_curr->refcount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (i = 0; i < LC_MAX; i++)
|
||||||
|
free(locale_sname[i]);
|
||||||
|
|
||||||
return locinfo;
|
return locinfo;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in a new issue