From: Adam Dickmeiss Date: Mon, 7 Jun 2004 17:00:55 +0000 (+0000) Subject: Do not sv_free session handle if close handler is called X-Git-Tag: release.0.0.8.lau~2 X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=commitdiff_plain;h=5b833f1b8ce65bd8c7a1d1afb57dc329f7693a9d Do not sv_free session handle if close handler is called --- diff --git a/SimpleServer.xs b/SimpleServer.xs index 16eb108..34cbb9a 100644 --- a/SimpleServer.xs +++ b/SimpleServer.xs @@ -1,5 +1,5 @@ /* - * $Id: SimpleServer.xs,v 1.32 2004-06-07 16:48:38 adam Exp $ + * $Id: SimpleServer.xs,v 1.33 2004-06-07 17:00:55 adam Exp $ * ---------------------------------------------------------------------- * * Copyright (c) 2000-2004, Index Data. @@ -1301,7 +1301,8 @@ void bend_close(void *handle) sv_free((SV*) href); } - sv_free(zhandle->handle); + else + sv_free(zhandle->handle); PUTBACK; FREETMPS; LEAVE;