From 9ac9ee0172c5440d7dab879756893d943e313143 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Mon, 29 Aug 2011 13:52:12 +0000 Subject: [PATCH] Fix deadlock on wrongly parsed limit parameter --- src/session.c | 1 + 1 file changed, 1 insertion(+) 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) -- 1.7.10.4