diff options
author | James Booth <boothj5@gmail.com> | 2014-06-17 22:01:01 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-06-17 22:01:01 +0100 |
commit | e2aa4d6fd1cb6fb1fa56044b7f0f1de5a4d0670a (patch) | |
tree | b96006384f13e5a59c0400b2e0089c7b489803a3 | |
parent | 2f95340c3ab990014aef300bee5120c5d0e10a7e (diff) | |
download | profani-tty-e2aa4d6fd1cb6fb1fa56044b7f0f1de5a4d0670a.tar.gz |
Added valgrind suppressions
-rw-r--r-- | prof.supp | 36 | ||||
-rw-r--r-- | src/ui/windows.c | 1 |
2 files changed, 37 insertions, 0 deletions
diff --git a/prof.supp b/prof.supp index 8a33cdbf..084b2cd8 100644 --- a/prof.supp +++ b/prof.supp @@ -7,6 +7,8 @@ ... } +# libotr + { otrl_init Memcheck:Leak @@ -17,3 +19,37 @@ ... } +{ + otrl_privkey_read + Memcheck:Leak + ... + fun:otrl_privkey_read_FILEp + fun:otrl_privkey_read + ... +} + +# Ignore history module, needs to be rewritten + +{ + history_next + Memcheck:Leak + ... + fun:history_next + ... +} + +{ + history_previous + Memcheck:Leak + ... + fun:history_previous + ... +} + +{ + history_append + Memcheck:Leak + ... + fun:history_append + ... +} diff --git a/src/ui/windows.c b/src/ui/windows.c index c3c44795..196f231b 100644 --- a/src/ui/windows.c +++ b/src/ui/windows.c @@ -258,6 +258,7 @@ wins_get_total_unread(void) result += window->unread; curr = g_list_next(curr); } + g_list_free(values); return result; } |