httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r830132 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c
Date Tue, 27 Oct 2009 11:12:27 GMT
Author: trawick
Date: Tue Oct 27 11:12:27 2009
New Revision: 830132

URL: http://svn.apache.org/viewvc?rev=830132&view=rev
Log:
release mutex on error path instead of trying to obtain it again

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c?rev=830132&r1=830131&r2=830132&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_pm_win.c Tue Oct 27 11:12:27 2009
@@ -193,7 +193,7 @@
             if ((rv =
                  apr_queue_pop(g_notifyqueue,
                                &notifybyte)) != APR_SUCCESS) {
-                apr_thread_mutex_lock(g_reqlock);
+                apr_thread_mutex_unlock(g_reqlock);
                 ap_log_rerror(APLOG_MARK, APLOG_EMERG, rv, r,
                               "mod_fcgid: can't pop notify message");
                 return rv;



Mime
View raw message