Free the evas_lists when we are done loading the gadget lists.

SVN revision: 23540
This commit is contained in:
Christopher Michael 2006-06-22 20:41:54 +00:00
parent ab2a2d01f1
commit 52455b603e
1 changed files with 6 additions and 1 deletions

View File

@ -267,7 +267,9 @@ _load_available_gadgets(void *data)
if (cc->func.icon) icon = cc->func.icon(evas);
e_widget_ilist_append(oi, icon, label, _cb_select_client, cfdata, cc->name);
}
e_widget_ilist_go(oi);
e_widget_ilist_go(oi);
if (l) evas_list_free(l);
}
static void
@ -312,4 +314,7 @@ _load_selected_gadgets(void *data)
}
e_widget_ilist_go(oi);
if (l) evas_list_free(l);
if (l2) evas_list_free(l2);
}