Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit a7a1c268 authored by Deucе's avatar Deucе 👌🏾

Fix newly-introduced memory leak...

I was going to start keeping the old rect around again, but that
idea didn't pan out.  This massive memory leak is what I get for
not doing more commits while tuning.
parent 05b3074f
Pipeline #2269 passed with stage
in 8 minutes and 43 seconds
......@@ -493,10 +493,9 @@ local_draw_rect(struct rectlist *rect)
// Scale...
source = do_scale(rect, x_cvstat.scaling, x_cvstat.scaling, x_cvstat.aspect_width, x_cvstat.aspect_height);
if (source == NULL) {
bitmap_drv_free_rect(rect);
if (source == NULL)
return;
}
cleft = source->w;
ctop = source->h;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment