You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/06/08 17:57:01 UTC

WWW Form Bug Report: "Unneccessary pcalloc in the new_connection function" on AIX (fwd)

Not acked


Message-Id: <19...@taz.hyperreal.com>
From: wsuhanic@acs.ryerson.ca
To: apache-bugs%apache.org@organic.com
Date: Sat Jun  8  8:55:04 1996
Subject: WWW Form Bug Report: "Unneccessary  pcalloc in the new_connection function" on AIX

Submitter: wsuhanic@acs.ryerson.ca
Operating system: AIX, version: 
Version of Apache Used: 1.1b2
Extra Modules used: Default
URL exhibiting problem: 

Symptoms:
--

This is not a bug only a suggestion.
I believe that in the new_connection there is
an unneccessary pcalloc. There is the intial pcalloc

conn_rec *conn = (conn_rec *) pcalloc (p, sizeof(conn_rec));

this is then followed by

conn = (conn_rec *)pcalloc(p, sizeof(conn_rec));

Is this second pcalloc needed ?

Hope to hear back soon.

--

Backtrace:
--

--
----- End of forwarded message from wsuhanic@acs.ryerson.ca -----

-- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.