I heard the Vala compiler actually generates more efficient C-code than the 
average C-programmer sometimes. This could be the reason your C code uses more 
memory, though if that is the case the difference should be quite small.

Otherwise you could check the Vala-generated C code and see if it is similar 
enough to your code to compare the two looking for subtle differences. This 
might help you find the leak.

2noob2banoob

Stephen Smally <[email protected]>schreef:

>Hi guys, just to try, i wrote a C version of Lxde Control Center 
>(attached), it works, but uses more Ram than the Vala one, how's 
>possible? maybe there are some memory leaks (i'm not expert with 
>pointers), can anybody take a look?
>
>Stephen Smally
>
>
>------------------------------------------------------------------------------
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and 
>threat landscape has changed and how IT managers can respond. Discussions 
>will include endpoint security, mobile security and the latest in malware 
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>Lxde-list mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/lxde-list
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to