Subject: Re: Support for new links in megatools 1.10.2
From: Ondřej Jirman
Date: Wed, 15 Apr 2020 12:11:27 +0200
Hi Berto,

On Wed, Apr 15, 2020 at 11:58:41AM +0200, Alberto Garcia wrote:
> Hi Ondřej,
> 
> I uploaded the experimental build of megatools to Debian experimental,
> but I was wondering if I could add a quick & dirty patch for the
> stable versions so they support the new link formats.
> 
> This way LTS distributions could still use 1.10.2 and be able to
> download the new links.

Yes, thank you. :)

> Does the patch that I'm attaching look ok? (it took me a minute to
> write it, don't expect anything very spectacular :))

A small problem with that patch is that glib does allocate m1 even on failed
match. Anyway, looking at the glib code, that will just produce a small
memleak and nothing serious. I wouldn't worry about it. Otherwise, it looks fine.

thank you and regards,
	o.

> Berto