dtappbuilder: Further coverity, resource leaks, copy intofixed size buffer and dereference before null checl

This commit is contained in:
Peter Howkins
2018-04-28 02:51:10 +01:00
parent 0aa8780fa1
commit a135a89876
18 changed files with 82 additions and 44 deletions

View File

@@ -566,6 +566,8 @@ objlistP_grow_array(ABObjList list, int sizeDiff)
if ( (new_objs == NULL)
|| (user_datas_valid && (new_user_datas == NULL)) )
{
free(new_objs);
free(new_user_datas);
return_value = ERR_NO_MEMORY;
goto epilogue;
}