free matched urls in url_list
This commit is contained in:
parent
0af2466ea4
commit
dd3716361a
|
@ -603,6 +603,7 @@ gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, search_panel_in
|
||||||
if (ret) {
|
if (ret) {
|
||||||
if (info->mode == overlay_mode::urlselect) {
|
if (info->mode == overlay_mode::urlselect) {
|
||||||
gtk_widget_hide(info->da);
|
gtk_widget_hide(info->da);
|
||||||
|
for (url_data d : info->url_list) g_free(d.url);
|
||||||
info->url_list.clear();
|
info->url_list.clear();
|
||||||
}
|
}
|
||||||
info->mode = overlay_mode::hidden;
|
info->mode = overlay_mode::hidden;
|
||||||
|
|
Loading…
Reference in New Issue