cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/28/23:42:57

Mime-Version: 1.0
To: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: Error in BCD
Date: Tue, 28 Apr 1998 20:37:41 -0700
Message-ID: <19980429033703.AAI3301@ppp104.cartsys.com>

At 09:33  4/28/1998 +0200, Thomas Demmer wrote:

>I don't think so. You will probably forget to
>say
>  free(++tracks);
>sooner or later and blow mallocs() internal lists. This may
>give funny results at occasions seemingly totally unrelated
>to the free() statement, and some hours of frustration.
>
>Rather give a damn about the overhead...

Better still, fix the references to `tracks' to correctly access from 0 ..
num_tracks-1. Yes, more work, but it's the Right fix.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019