Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Freeing a dynamically allocated array of structs within a struct in C Date: Mon, 30 Aug 2021 11:39:17 -0700 Organization: None to speak of Lines: 13 Message-ID: <87h7f6ixpm.fsf@nosuchdomain.example.com> References: <1348a974-54cd-47cf-bf40-7034feaa1f78n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="8db094bb5830fd7492c0a849afd09d03"; logging-data="21448"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19s0ZaCCCjK8c0R/8EGCl/C" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:9jp2q02I2dZlK9HQTiCMfIWSEa4= sha1:vVRjKKO+y49EL/TUTsk2KySzHsE= Xref: csiph.com comp.lang.c:162499 James Kuyper writes: [...] > For people who can count on POSIX support, > can you give any reason to avoid it? [...] It's not defined by POSIX. It's from 4.4BSD, and supported by glibc (and also by newlib and musl) -- but not by Windows. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips void Void(void) { Void(); } /* The recursive call of the void */