[lazarus] Bugs and patch
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Dec 22 18:08:29 EST 2002
On Sun, 22 Dec 2002 17:47:24 +0100
Jeroen van Iddekinge <iddekingej at lycos.com> wrote:
> Hi,
>
> I have found the following errors in lazarus:
>
> propedits.pp/TPropertyEditor.PropDrawName
> =================================
> Untialised value:
> Style.systemfont is not set.
Fixed
> GtkObject.inc/TGtkObject.Create
> ========================
> Memory leak:
> FGtkToolTips is first created with gtk_tooltips_new.
> After the tool tips are created, the functuon gtk_object_ref is called
> and the refcount is set
> to 2. In TGtkObject.Destroy the recount of the tool tips is still 2.
> Because "unref" is
> only called once the tool tips are not destroyed.
Fixed.
> GtkObject.inc/GTKProc.SetStyle
> ========================
> Memmory leak:
> A Gtk-Tooltips group is created but never deleted.
SetStyle?
Do you mean GetStyle?
> Patch:
>
> BaseCodeTools.pas/SearchCodeInSource
> ==============================
> I rewrote this functies, and looks now cleaner and is faster.
Applied.
FYI: This function is not used by the IDE.
> Attachment contains the patch for this (The errors mention above are NOT
> patched with this file).
> Hopefuly is usefull.
:)
Mattias
More information about the Lazarus
mailing list