From: Dennis Schafroth Date: Mon, 29 Aug 2011 13:52:12 +0000 (+0000) Subject: Fix deadlock on wrongly parsed limit parameter X-Git-Tag: v1.6.0~7 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=9ac9ee0172c5440d7dab879756893d943e313143;p=pazpar2-moved-to-github.git Fix deadlock on wrongly parsed limit parameter --- diff --git a/src/session.c b/src/session.c index 622d6d6..373dd49 100644 --- a/src/session.c +++ b/src/session.c @@ -633,6 +633,7 @@ enum pazpar2_error_code search(struct session *se, if (!facet_limits) { *addinfo = "limit"; + session_leave(se); return PAZPAR2_MALFORMED_PARAMETER_VALUE; } for (l = se->clients; l; l = l->next)