Go to file
Christophe Fergeau 4a7de5a403 test-item: Fix string leaks
This fixes:

==16901== 7 bytes in 1 blocks are definitely lost in loss record 9 of 1,154
==16901==    at 0x4A06C50: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16901==    by 0x36E564F679: g_malloc (gmem.c:97)
==16901==    by 0x36E56688AE: g_strdup (gstrfuncs.c:356)
==16901==    by 0x4C3098F: secret_item_get_label (secret-item.c:1922)
==16901==    by 0x402A65: test_create_sync (test-item.c:203)
==16901==    by 0x36E566FB92: test_case_run (gtestutils.c:2124)
==16901==    by 0x36E566FB92: g_test_run_suite_internal (gtestutils.c:2185)
==16901==    by 0x36E566FD5A: g_test_run_suite_internal (gtestutils.c:2196)
==16901==    by 0x36E56700DA: g_test_run_suite (gtestutils.c:2249)
==16901==    by 0x36E5670110: g_test_run (gtestutils.c:1553)
==16901==    by 0x4C5A0EA: egg_tests_run_with_loop (egg-testing.c:167)
==16901==    by 0x406AAE: main (test-item.c:880)
==16901==-
==16901== 7 bytes in 1 blocks are definitely lost in loss record 10 of 1,154
==16901==    at 0x4A06C50: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16901==    by 0x36E564F679: g_malloc (gmem.c:97)
==16901==    by 0x36E56688AE: g_strdup (gstrfuncs.c:356)
==16901==    by 0x4C3098F: secret_item_get_label (secret-item.c:1922)
==16901==    by 0x402DB6: test_create_async (test-item.c:249)
==16901==    by 0x36E566FB92: test_case_run (gtestutils.c:2124)
==16901==    by 0x36E566FB92: g_test_run_suite_internal (gtestutils.c:2185)
==16901==    by 0x36E566FD5A: g_test_run_suite_internal (gtestutils.c:2196)
==16901==    by 0x36E56700DA: g_test_run_suite (gtestutils.c:2249)
==16901==    by 0x36E5670110: g_test_run (gtestutils.c:1553)
==16901==    by 0x4C5A0EA: egg_tests_run_with_loop (egg-testing.c:167)
==16901==    by 0x406AAE: main (test-item.c:880)
==16901==-

https://bugzilla.gnome.org/show_bug.cgi?id=756766
2015-10-19 12:09:50 +02:00
build build: Use /usr/bin/env to find python during tests 2014-03-23 08:59:12 +01:00
docs docs: Don't overcomplicate things with the major version in docs 2015-06-29 14:41:49 +02:00
egg egg: Accomodate thread-safe libgcrypt 1.6+ 2014-09-09 15:18:33 +02:00
libsecret test-item: Fix string leaks 2015-10-19 12:09:50 +02:00
po Add Persian translation 2015-09-17 01:19:35 +04:30
tool Makefile.am: Use a single Makefile.am and parallel tests 2014-03-04 12:57:19 +01:00
.gitignore Makefile.am: Add check-memory target for valgrind testing 2014-03-05 12:59:46 +01:00
AUTHORS Initial module setup. Implement GSecretData 2011-08-08 17:43:47 +02:00
autogen.sh Updated autogen.sh to allow automake version 1.15 2015-01-25 08:21:44 +01:00
ChangeLog Rename gsecret to libsecret 2012-02-03 20:44:46 +01:00
configure.ac Bump version 2015-08-03 09:18:43 +02:00
COPYING Fix up libsecret licensing 2012-08-06 11:25:08 +02:00
COPYING.TESTS Fix up libsecret licensing 2012-08-06 11:25:08 +02:00
libsecret.doap doap: add <programming-language> 2014-07-31 19:39:33 +02:00
Makefile.am Add gnome.org install command to 'make upload-release' 2015-08-03 09:33:26 +02:00
NEWS Bump version 2015-08-03 09:18:43 +02:00
README Initial module setup. Implement GSecretData 2011-08-08 17:43:47 +02:00

GObject based library for accessing the Secret Service API.