free matched urls in url_list

This commit is contained in:
Daniel Micay 2012-09-21 23:36:42 -04:00
parent 0af2466ea4
commit dd3716361a
1 changed files with 1 additions and 0 deletions

View File

@ -603,6 +603,7 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, search_panel_in
if (ret) {
if (info->mode == overlay_mode::urlselect) {
gtk_widget_hide(info->da);
for (url_data d : info->url_list) g_free(d.url);
info->url_list.clear();
}
info->mode = overlay_mode::hidden;