Commit cd63e0e9 authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

Unlock mutex in error path.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1776006 13f79535-47bb-0310-9956-ffa450edef68
parent f0ef5730
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -471,6 +471,9 @@ lua_State *ap_lua_get_lua_state(apr_pool_t *lifecycle_pool,
                    cache_info = sspec->finfo;
                }
                else {
#if APR_HAS_THREADS
                    apr_thread_mutex_unlock(ap_lua_mutex);
#endif
                    return NULL;
                }
            }