stas 2003/09/15 22:01:38
Modified: src/modules/perl mod_perl.c Log: can't use perl's safemalloc before perl is started, using apr_palloc instead Revision Changes Path 1.184 +1 -1 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c =================================================================== RCS file: /home/cvs/modperl-2.0/src/modules/perl/mod_perl.c,v retrieving revision 1.183 retrieving revision 1.184 diff -u -u -r1.183 -r1.184 --- mod_perl.c 11 Sep 2003 18:10:39 -0000 1.183 +++ mod_perl.c 16 Sep 2003 05:01:38 -0000 1.184 @@ -41,7 +41,7 @@ /* calculate our own random hash seed */ if (!MP_init_hash_seed_set) { - apr_uuid_t *uuid = (apr_uuid_t *)safemalloc(sizeof(apr_uuid_t)); + apr_uuid_t *uuid = (apr_uuid_t *)apr_palloc(p, sizeof(apr_uuid_t)); char buf[APR_UUID_FORMATTED_LENGTH + 1]; int i;