libnotify generates a lot of valgrind warnings

Bug #492252 reported by Christophe Dumez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnotify (Ubuntu)
New
Undecided
Unassigned

Bug Description

If you download libnotify examples such as this one:
https://wiki.ubuntu.com/NotificationDevelopmentGuidelines?action=AttachFile&do=view&target=summary-body.c

And compile it using the advised command:
gcc -O0 -ggdb -Wall -Werror `pkg-config --cflags --libs libnotify glib-2.0` summary-body.c -o summary-body

The program runs fine, however it will generate a lot of warnings in valgrind (valgrind --tool=memcheck --leak-check=full ./summary-body 1&>2 2>valgrind.log) when enabling leak-check. I don't know if this is important or not but I thought I should report this.

Note that calling:
g_object_unref(G_OBJECT(notification));
after showing the notification does not help.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.