| Deutsch English Français Italiano |
|
<vhs16a$1k6ft$4@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.os.linux.misc Subject: Re: Joy of this, Joy of that Date: Sat, 23 Nov 2024 07:45:14 -0000 (UTC) Organization: A noiseless patient Spider Lines: 16 Message-ID: <vhs16a$1k6ft$4@dont-email.me> References: <vhigot$1uakf$1@dont-email.me> <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me> <vhmprp$iaf1$1@dont-email.me> <lq9h4kF2tegU1@mid.individual.net> <vhpmo6$14s79$1@dont-email.me> <wwva5drk0m1.fsf@LkoBDZeT.terraraq.uk> <vhptgf$1614q$1@dont-email.me> <Iq40P.70904$EQue.62359@fx13.iad> <vhqr9n$1b2t7$8@dont-email.me> <rcf0P.211280$pZ%.136218@fx16.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 23 Nov 2024 08:45:15 +0100 (CET) Injection-Info: dont-email.me; posting-host="2fd1218dfbbc8c3afa5bbf19b4966652"; logging-data="1710589"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oHHF88K1axT7GtJejFtoq" User-Agent: Pan/0.161 (Chasiv Yar; ) Cancel-Lock: sha1:DWoubXMxiRcdZJWIMR6h1pDiiuE= Bytes: 1921 On Sat, 23 Nov 2024 07:09:11 GMT, Charlie Gibbs wrote: > On 2024-11-22, Lawrence D'Oliveiro <ldo@nz.invalid> wrote: > >> On Fri, 22 Nov 2024 18:53:28 GMT, Charlie Gibbs wrote: >> >>> All my programs contain a routine called quit_cleanup(); it takes a >>> single argument, which is either an error message or NULL. >>> It frees all allocated memory, closes any open files, etc. >> >> But all that is unnecessary if your program is terminating anyway. > > Perhaps, but I'm a belt-and-suspenders guy - I like to explicitly free > everything come hell or high water. That actually slows down program termination.