Skip to content
Permalink
Browse files

Ignore leaks in the binheap test for now

  • Loading branch information
fgsch committed Mar 16, 2020
1 parent d47b8d4 commit 416e3bf6ea15ff9cca48abc20cf057189bbf0f94
Showing with 12 additions and 1 deletion.
  1. +12 −0 lib/libvarnish/binary_heap.c
  2. +0 −1 tools/lsan.suppr
@@ -46,6 +46,10 @@
#include "vas.h"
#include "binary_heap.h"

#if !defined(__has_feature)
#define __has_feature(x) 0
#endif

/* Parameters --------------------------------------------------------*/

/*
@@ -526,6 +530,14 @@ vrnd_lock(void)
{
}

#if defined(__SANITIZER) || __has_feature(address_sanitizer)
int __lsan_is_turned_off(void);
int __lsan_is_turned_off(void)
{
return (1);
}

#endif
int
main(void)
{
@@ -10,7 +10,6 @@ leak:VSL_Setup
leak:WRK_BgThread
#
leak:binheap_new
leak:binheap_insert
# ev
leak:mct_callback
#

0 comments on commit 416e3bf

Please sign in to comment.
You can’t perform that action at this time.