there's a cppcheck - tool for static C/C++ code analysis...

Miika Turkia miika.turkia at gmail.com
Tue Sep 18 20:41:50 PDT 2012


On Wed, Sep 19, 2012 at 3:28 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
> Dirk Hohndel <dirk at hohndel.org> writes:
>>> [gtk-gui.c:229]: (error) Mismatching allocation and deallocation: label_text
>>
>> And this is the one that I think might cause havoc with glib's memory
>> management. I'm eager to see if this addresses the bug on Ubuntu...
>>
>> I'll do some more sanity testing and then push out my fixes. Stay tuned.
>
> Oh, this only gets called in ask_save_changes... so it's unlikely to fix
> the Ubuntu issue...
>
> Still, can people try to reproduce this one with the latest master that
> I just pushed?

Still not working on freshly pulled master.

The quickest way to test this out in Ubuntu is to start Subsurface
with some dives (in trip mode). And looking at the date field of dive
trips. If you have date and time instead of date and dive count on
this field, the bug still exists.

miika


More information about the subsurface mailing list