mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
libDtHelp: Cov 88209
This commit is contained in:
parent
1c0312de48
commit
a97c7370a5
1 changed files with 6 additions and 0 deletions
|
@ -3853,7 +3853,10 @@ ResolveSnref(
|
||||||
my_struct->ui_info->client_data,
|
my_struct->ui_info->client_data,
|
||||||
interpStr, runData, &newData)
|
interpStr, runData, &newData)
|
||||||
|| NULL == newData || 0 == strlen(newData))
|
|| NULL == newData || 0 == strlen(newData))
|
||||||
|
{
|
||||||
|
free(newData);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* set the match data for toss lookup
|
* set the match data for toss lookup
|
||||||
|
@ -3876,7 +3879,10 @@ ResolveSnref(
|
||||||
if (0 != MySaveString(&newSeg, my_struct, newData,
|
if (0 != MySaveString(&newSeg, my_struct, newData,
|
||||||
my_struct->cur_link, my_struct->mb_len,
|
my_struct->cur_link, my_struct->mb_len,
|
||||||
False))
|
False))
|
||||||
|
{
|
||||||
|
free(newData);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
free(newData);
|
free(newData);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue