Fixed a hFree without a corresponding allocate
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@567 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -70,6 +70,7 @@ _GetStringData (FILE *fp, DWORD length)
|
|||||||
HFree (strdata);
|
HFree (strdata);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
ts_data = NULL;
|
||||||
|
|
||||||
{
|
{
|
||||||
char *s1, *s2;
|
char *s1, *s2;
|
||||||
@@ -303,7 +304,8 @@ _GetStringData (FILE *fp, DWORD length)
|
|||||||
|
|
||||||
HFree (strdata);
|
HFree (strdata);
|
||||||
HFree (clipdata);
|
HFree (clipdata);
|
||||||
HFree (ts_data);
|
if (ts_data)
|
||||||
|
HFree (ts_data);
|
||||||
|
|
||||||
return (hData);
|
return (hData);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user