1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2025-02-17 15:55:52 -05:00

don't free jpg_data

This commit is contained in:
Rio6 2021-05-30 15:17:26 -04:00
parent d0644a31ce
commit 09d6f3b03d

View file

@ -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);
}
}