sway

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

commit f438d3897d165a978226bac22e897e8522f65de8
parent 72043b231d99162d917c3234bfbf99b6a9e29945
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 23 Dec 2015 07:53:08 -0500

Merge pull request #398 from juju2143/bug-correction-1

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;