Re: all about gobject references

On Sat, Aug 22, 2009 at 3:12 PM, Tadej Borovšak <tadeboro gmail com> wrote:

> but when i put it throught valgrind tool it says 156 bytes loss in memory

Analyzing glib code with valgrind requires some preparation or false
positives are reported. Ask your favorite search engine about this and
you should be able to find some documentation.

Libchamplain's wiki [1] has a section named "Valgrind error suppression" that shows how to prepare valgrind to behave better with glib. The instructions should be easy to adapt to any project.


Emmanuel Rodriguez

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]