On Thu, Aug 29, 2002 at 09:44:54PM -0500, Jeremy Hill wrote:
> void read (void)
> {
>    char *tmp;
>    tmp = fread_word (fp);
>    strcpy (somestruct_data.best_ratio.name, tmp);
>    return;
> }
> 
> Does this leak memory?

Depends on what fread_word() does.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED]    |    Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:&};:   | Interested in MUDs? http://www.FatalDimensions.org/

Reply via email to