[PATCH] Clean double free in copy_dive_site()
Salvador Cuñat
salvador.cunat at gmail.com
Tue Jul 7 11:09:16 PDT 2015
2015-07-07 19:39 GMT+02:00 Dirk Hohndel <dirk at hohndel.org>:
> On Tue, Jul 07, 2015 at 07:35:26PM +0200, Salvador Cuñat wrote:
> > This makes subsurface crash by simply clicking a dive in the list.
>
> I didn't get that crash (which is surprising, looking at the code),
I think the free_taxonomy() call works only if a taxonomy exists in the log.
I didn't have the crash e.g. in divelogs without defined dive sites or
divelogs whose dive sites are "no taxonomy compliant"
Regards.
Salva.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150707/9b284ab4/attachment.html>
More information about the subsurface
mailing list