diff -Nru compton-7.3/debian/changelog compton-7.4/debian/changelog --- compton-7.3/debian/changelog 2019-09-01 17:42:53.000000000 +0000 +++ compton-7.4/debian/changelog 2019-10-05 14:54:11.000000000 +0000 @@ -1,3 +1,15 @@ +compton (7.4-0ubuntu1~ppa2~bionic2) bionic; urgency=medium + + * Bionic version. + + -- Ken Gilmer Sat, 05 Oct 2019 07:54:11 -0700 + +compton (7.4-0ubuntu1~ppa1) disco; urgency=medium + + * Take upstream 7.4 release. + + -- Ken Gilmer Mon, 30 Sep 2019 19:43:27 -0700 + compton (7.3-0ubuntu1~ppa8) bionic; urgency=medium * Specify debhelper-compat v11 for Bionic support diff -Nru compton-7.3/src/backend/driver.c compton-7.4/src/backend/driver.c --- compton-7.3/src/backend/driver.c 2019-08-18 21:40:33.000000000 +0000 +++ compton-7.4/src/backend/driver.c 2019-09-21 00:08:00.000000000 +0000 @@ -22,6 +22,7 @@ c, xcb_randr_get_providers(c, window), NULL); if (r == NULL) { log_warn("Failed to get RANDR providers"); + free(randr_version); return 0; } @@ -54,9 +55,11 @@ ret |= DRIVER_INTEL; } free(name); + free(r2); } free(r); } + free(randr_version); // If the backend supports driver detection, use that as well if (backend_data && backend_data->ops->detect_driver) { diff -Nru compton-7.3/src/compton.c compton-7.4/src/compton.c --- compton-7.3/src/compton.c 2019-08-18 21:40:33.000000000 +0000 +++ compton-7.4/src/compton.c 2019-09-21 00:08:00.000000000 +0000 @@ -1316,9 +1316,12 @@ // Call fill_win on new windows handle_new_windows(ps); - auto r = xcb_get_input_focus_reply(ps->c, xcb_get_input_focus(ps->c), NULL); - if (!ps->active_win || (r && r->focus != ps->active_win->base.id)) { - recheck_focus(ps); + { + auto r = xcb_get_input_focus_reply(ps->c, xcb_get_input_focus(ps->c), NULL); + if (!ps->active_win || (r && r->focus != ps->active_win->base.id)) { + recheck_focus(ps); + } + free(r); } // Refresh pixmaps diff -Nru compton-7.3/src/win.c compton-7.4/src/win.c --- compton-7.3/src/win.c 2019-08-18 21:40:33.000000000 +0000 +++ compton-7.4/src/win.c 2019-09-21 00:08:00.000000000 +0000 @@ -1145,6 +1145,7 @@ if (a->_class == XCB_WINDOW_CLASS_INPUT_ONLY) { // No need to manage this window, but we still keep it on the window stack w->managed = false; + free(a); return w; }