dtappbuilder: fix a segmentation fault that occurred when repeating "Add Item"

-> "Delete" -> "Add Item" in the "Revolving Property Editor".
This commit is contained in:
Liang Chang 2021-02-08 07:32:01 +08:00
parent a3d1e17c32
commit 97bfb63551
1 changed files with 2 additions and 2 deletions

View File

@ -1026,8 +1026,8 @@ delete_selected_item(
)
{
ABObj current_obj;
ABObj *iobj_list,
*new_iobj_list;
ABObj *iobj_list;
ABObj *new_iobj_list = NULL;
int num_items;
int select_pos;
int i, j;