You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2015/05/18 15:37:55 UTC

svn commit: r1680032 - in /tcl/rivet/trunk: ChangeLog src/mod_rivet/mod_rivet_common.c

Author: mxmanghi
Date: Mon May 18 13:37:54 2015
New Revision: 1680032

URL: http://svn.apache.org/r1680032
Log:
    * src/mod_rivet/mod_rivet_common.c: fixed call to apr_palloc which
    allocated dirty ram, changed as apr_pcalloc


Modified:
    tcl/rivet/trunk/ChangeLog
    tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c

Modified: tcl/rivet/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/ChangeLog?rev=1680032&r1=1680031&r2=1680032&view=diff
==============================================================================
--- tcl/rivet/trunk/ChangeLog (original)
+++ tcl/rivet/trunk/ChangeLog Mon May 18 13:37:54 2015
@@ -1,3 +1,7 @@
+2015-05-18 Massimo Manghi <mx...@apache.org>
+    * src/mod_rivet/mod_rivet_common.c: fixed call to apr_palloc which
+    allocated dirty ram, changed as apr_pcalloc
+
 2015-05-15 Massimo Manghi <mx...@apache.org>
     * src/mod_rivet/mod_rivet.h: further reorganization removes duplication
     of status variables between rivet_thread_worker and rivet_interp_globals

Modified: tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c?rev=1680032&r1=1680031&r2=1680032&view=diff
==============================================================================
--- tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c (original)
+++ tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c Mon May 18 13:37:54 2015
@@ -140,7 +140,7 @@ rivet_thread_private* Rivet_CreatePrivat
     }
 
     apr_thread_mutex_lock(module_globals->pool_mutex);
-    private = apr_palloc (module_globals->pool,sizeof(*private));
+    private = apr_pcalloc (module_globals->pool,sizeof(*private));
     apr_thread_mutex_unlock(module_globals->pool_mutex);
 
     if (apr_pool_create (&private->pool, NULL) != APR_SUCCESS) 



---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org