[SCM] UID Wrapper Repository - branch master updated
Andreas Schneider
asn at samba.org
Fri Dec 20 05:19:03 MST 2013
The branch, master has been updated
via c1a96dc tests: Fix some memory leaks.
via f2f1e56 cmake: Add valgrind suppression file.
from a9bb877 uwrap: Pass bool values to uwrap_new_id().
http://gitweb.samba.org/?p=uid_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit c1a96dcb8a75809cb2efed79519d1e0518089c13
Author: Andreas Schneider <asn at samba.org>
Date: Fri Dec 20 13:18:46 2013 +0100
tests: Fix some memory leaks.
commit f2f1e5624bfcb8a6c828d2e5f729213849dfb577
Author: Andreas Schneider <asn at samba.org>
Date: Fri Dec 20 13:18:34 2013 +0100
cmake: Add valgrind suppression file.
-----------------------------------------------------------------------
Summary of changes:
tests/test_glibc_thread_support.c | 5 +++++
tests/valgrind.supp | 16 ++++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
create mode 100644 tests/valgrind.supp
Changeset truncated at 500 lines:
diff --git a/tests/test_glibc_thread_support.c b/tests/test_glibc_thread_support.c
index 159cf91..357862e 100644
--- a/tests/test_glibc_thread_support.c
+++ b/tests/test_glibc_thread_support.c
@@ -67,6 +67,8 @@ static void test_syscall_setreuid(void **state)
for (i = 0; i < NUM_THREADS; i++) {
pthread_join(threads[i], NULL);
}
+
+ free(threads);
}
static void *sync_setreuid(void *arg)
@@ -132,6 +134,9 @@ static void test_sync_setreuid(void **state)
for (i = 0; i < NUM_THREADS; i++) {
pthread_join(threads[i], NULL);
}
+
+ free(threads);
+ free(p);
}
int main(void) {
diff --git a/tests/valgrind.supp b/tests/valgrind.supp
new file mode 100644
index 0000000..9857825
--- /dev/null
+++ b/tests/valgrind.supp
@@ -0,0 +1,16 @@
+### GLIBC
+{
+ glibc_dlopen_alloc
+ Memcheck:Leak
+ fun:calloc
+ fun:_dlerror_run
+ fun:dlopen@@GLIBC_2.2.5
+}
+
+{
+ glibc_dlclose_alloc
+ Memcheck:Leak
+ fun:calloc
+ fun:_dlerror_run
+ fun:dlclose
+}
--
UID Wrapper Repository
More information about the samba-cvs
mailing list