]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests: don't check for leaks in fixed point tests
authorVincent Bernat <vincent@bernat.im>
Fri, 18 Mar 2016 12:43:02 +0000 (13:43 +0100)
committerVincent Bernat <vincent@bernat.im>
Fri, 18 Mar 2016 18:34:54 +0000 (19:34 +0100)
tests/check_fixedpoint.c

index 2f13d13a52644c4aedf4a45d2a15049895102a01..db889bba4baea2e9ba60b7b065512d45d2869afe 100644 (file)
@@ -306,6 +306,11 @@ fixedpoint_suite(void)
        return s;
 }
 
+/* Disable leak detection sanitizer */
+int __lsan_is_turned_off() {
+       return 1;
+}
+
 int
 main()
 {