[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] KDE/kdebindings/qtruby/rubylib/qtruby
From:       "Caleb Tennis" <caleb () gentoo ! org>
Date:       2006-08-28 20:12:20
Message-ID: 41460.192.168.2.155.1156795940.squirrel () www ! aei-tech ! com
[Download RAW message or body]

>      if(!ccMeth) {
> +	delete[] ccArg;
>  	return 0;

I'm still getting valgrind warnings even after this fix, so either I
didn't fix it completely or I am missing where else to fix.  I'll have to
continue invesgiating tomorrow.

I'm also concerned about this:

==30548== 4,176 bytes in 1,044 blocks are definitely lost in loss record
8,724 of 8,783
==30548==    at 0x40203ED: malloc (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==30548==    by 0x4061365: ruby_xmalloc (gc.c:121)
==30548==    by 0x438F27F: InvokeDCOPSlot::InvokeDCOPSlot(unsigned long,
unsigned long, unsigned long, QMemArray<char>&, unsign
ed long, unsigned long, QMemArray<char>&) (Korundum.cpp:872)
==30548==    by 0x4389B61: dcop_process (Korundum.cpp:970)

In which:

 _sp = ALLOC_N(VALUE, _items);

gets allocated in the constructor of InvokeDCOPSLot, but there's no place
where the memory is ever free'd.  I'll have to investigate that one
tomorrow as well.

Caleb


_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic