Deutsch   English   Français   Italiano  
<20240822104819.877@kylheku.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Kaz Kylheku <643-408-1753@kylheku.com>
Newsgroups: comp.lang.c
Subject: Re: valgrind leak I can't find
Date: Thu, 22 Aug 2024 17:50:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <20240822104819.877@kylheku.com>
References: <j8idnQlHTPZXZFv7nZ2dnZfqn_GdnZ2d@brightview.co.uk>
 <oKScnQbmXbeW5Fr7nZ2dnZfqn_GdnZ2d@brightview.co.uk>
Injection-Date: Thu, 22 Aug 2024 19:50:46 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="90d9ee9f577d3e1dd330bc58c9f42403";
	logging-data="562027"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18nDhQSeWjlNV77YJIbQJcSar1Qhd0png8="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:3VAJjvLjl8Ms16JMI+A8pLS6P1k=
Bytes: 1442

On 2024-08-22, Mark Summerfield <mark@qtrac.eu> wrote:
> Thank you to all who replied.
>
> TL;DR The problem turned out to be a double-free because I had two owning

Is it the case that Valgrind reported the double free without stopping
the program, but you missed it because you scrolled to the bottom for
the leak reports? :)

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca