08/11/2024 16:43, Mattias Rönnblom: > On 2024-11-08 14:08, Thomas Monjalon wrote: > > The memory allocated with _aligned_malloc() > > must be released with _aligned_free() on Windows. > > > > The POSIX free() was called in eal_lcore_var_cleanup(), > > Referring to free() as a part of POSIX is true, but a bit misleading, > since it's also standard C. > > > called in rte_eal_cleanup(), and triggered a heap corruption: > > exit status 3221226356 or signal 3221226228 SIGinvalid > > with MALLOC_PERTURB_=86 > > > > Fixes: 5bce9bed67ad ("eal: add static per-lcore memory allocation facility") > > > > Reported-by: David Marchand <david.march...@redhat.com> > > Signed-off-by: Thomas Monjalon <tho...@monjalon.net> > > Reviewed-by: Mattias Rönnblom <mattias.ronnb...@ericsson.com>
Applied