1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

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 committed by Jon Trulson
parent 920465cb5b
commit 49185f2624

View file

@ -1027,8 +1027,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;