Public bug reported:
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.
** Affects: libnotify (Ubuntu)
Importance: Undecided
Status: New
** Tags: leak libnotify memory valgrind warning
--
libnotify generates a lot of valgrind warnings
https://bugs.launchpad.net/bugs/492252
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs