i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 09d6f3b03d748e0861922132703c4bea7deabdbc
parent d0644a31ce8215a0b6411f25bac8827bf34c42a0
Author: Rio6 <rio.liu@r26.me>
Date:   Sun, 30 May 2021 15:17:26 -0400

don't free jpg_data

Diffstat:
Mi3lock.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/i3lock.c b/i3lock.c
@@ -1357,7 +1357,6 @@ static cairo_surface_t* load_image(char* image_path, char* image_raw_format) {
                 img = cairo_image_surface_create_for_data(jpg_data,
                         CAIRO_FORMAT_ARGB32, jpg_info.width, jpg_info.height,
                         jpg_info.stride);
-                free(jpg_data);
             }
     }