httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject WWW Form Bug Report: "Unneccessary pcalloc in the new_connection function" on AIX (fwd)
Date Sat, 08 Jun 1996 15:57:01 GMT

Not acked


Message-Id: <199606081555.IAA21299@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.

Mime
View raw message