sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 7b00eab8adf310a6b65c8856428c7bf1a381dfb6
parent 23df7ed502b20bf264d85af2aef8c933e393f9ee
Author: Julien Savard <juju2143@gmail.com>
Date:   Tue, 22 Dec 2015 23:47:07 -0500

swaygrab: Fix memory leak when recording videos

Diffstat:
Mswaygrab/main.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/swaygrab/main.c b/swaygrab/main.c @@ -94,6 +94,7 @@ void grab_and_apply_movie_magic(const char *file, const char *output, fwrite(pixels, 1, len, f); + free(pixels - 9); clock_gettime(CLOCK_MONOTONIC, &finish); ts.tv_nsec = ns; double fts = (double)finish.tv_sec + 1.0e-9*finish.tv_nsec;