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

Dirk Hohndel dirk at hohndel.org
Thu Sep 20 13:57:04 PDT 2012


Miika Turkia <miika.turkia at gmail.com> writes:

> 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, I think you already confirmed this, but there were a bunch of
overlapping threads.

I assume this is fixed in the latest master?

/D


More information about the subsurface mailing list