mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 14:16:01 +01:00
fix memory leak when selecting text
This commit is contained in:
parent
545e509a35
commit
14a02d4002
1 changed files with 0 additions and 1 deletions
|
@ -1086,7 +1086,6 @@ cb_zathura_page_widget_motion_notify(GtkWidget* widget, GdkEventMotion* event)
|
|||
y2 = tmp.y1;
|
||||
}
|
||||
zathura_rectangle_t redraw_bounds = {0, y1, page_width, y2};
|
||||
priv->selection.list = zathura_page_get_selection(priv->page, scaled_mouse_selection, NULL);
|
||||
|
||||
priv->selection.list = zathura_page_get_selection(priv->page, scaled_mouse_selection, NULL);
|
||||
if (priv->selection.list != NULL && girara_list_size(priv->selection.list) != 0) {
|
||||
|
|
Loading…
Reference in a new issue