mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:46:00 +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;
|
y2 = tmp.y1;
|
||||||
}
|
}
|
||||||
zathura_rectangle_t redraw_bounds = {0, y1, page_width, y2};
|
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);
|
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) {
|
if (priv->selection.list != NULL && girara_list_size(priv->selection.list) != 0) {
|
||||||
|
|
Loading…
Reference in a new issue