httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1776006 - /httpd/httpd/trunk/modules/lua/lua_vmprep.c
Date Sun, 25 Dec 2016 11:11:30 GMT
Author: jailletc36
Date: Sun Dec 25 11:11:30 2016
New Revision: 1776006

URL: http://svn.apache.org/viewvc?rev=1776006&view=rev
Log:
Unlock mutex in error path.

Modified:
    httpd/httpd/trunk/modules/lua/lua_vmprep.c

Modified: httpd/httpd/trunk/modules/lua/lua_vmprep.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/lua_vmprep.c?rev=1776006&r1=1776005&r2=1776006&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/lua_vmprep.c (original)
+++ httpd/httpd/trunk/modules/lua/lua_vmprep.c Sun Dec 25 11:11:30 2016
@@ -471,6 +471,9 @@ lua_State *ap_lua_get_lua_state(apr_pool
                     cache_info = sspec->finfo;
                 }
                 else {
+#if APR_HAS_THREADS
+                    apr_thread_mutex_unlock(ap_lua_mutex);
+#endif
                     return NULL;
                 }
             }



Mime
View raw message