Skip to content

Commit

Permalink
Error path in SSI code when interpreter could not be obtained was trying
Browse files Browse the repository at this point in the history
to wrongly release the interpreter. (MODPYTHON-104)
  • Loading branch information
grahamd committed Apr 23, 2006
1 parent f20077b commit 3bc5004
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/mod_python.c
Expand Up @@ -1843,7 +1843,6 @@ static apr_status_t handle_python(include_ctx_t *ctx,

Py_XDECREF(tagobject);
Py_XDECREF(codeobject);
release_interpreter();
return HTTP_INTERNAL_SERVER_ERROR;
}

Expand Down Expand Up @@ -1985,7 +1984,6 @@ static apr_status_t handle_python(include_ctx_t *ctx,

Py_XDECREF(tagobject);
Py_XDECREF(codeobject);
release_interpreter();
return HTTP_INTERNAL_SERVER_ERROR;
}

Expand Down

0 comments on commit 3bc5004

Please sign in to comment.