Re: [PATCH] BUG/MINOR: thread: log: Log buffers allocated twice by main, thread.

2018-07-11 Thread Christopher Faulet
Le 11/07/2018 à 10:48, Frederic Lecaille a écrit : This is a patch to fix a very minor bug. But at least it helps in making reg tests with the address sanitizer passes. Hi Fred, There is no leak here because realloc is used (using my_realloc2 wrapper). And in fact, it is important to call

[PATCH] BUG/MINOR: thread: log: Log buffers allocated twice by main, thread.

2018-07-11 Thread Frederic Lecaille
This is a patch to fix a very minor bug. But at least it helps in making reg tests with the address sanitizer passes. Fred. >From e75d5fee861d8f3da68238c337512c71d090ac8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Wed, 11 Jul 2018 10:31:29 +0200