Created
January 29, 2017 04:24
-
-
Save stan1y/e4b62565d3540174f44231b4014da07f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/examples/pgsql/src/pgsql.c b/examples/pgsql/src/pgsql.c | |
index 3553bfc..e377b7d 100644 | |
--- a/examples/pgsql/src/pgsql.c | |
+++ b/examples/pgsql/src/pgsql.c | |
@@ -126,6 +126,9 @@ request_perform_query(struct http_request *req) | |
{ | |
struct rstate *state = req->hdlr_extra; | |
+ kore_pgsql_cleanup(&state->sql); | |
+ return HTTP_STATE_COMPLETE; | |
+ | |
/* We want to move to read result after this. */ | |
req->fsm_state = REQ_STATE_DB_WAIT; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment