freeing json response object
[Evergreen.git] / OpenSRF / src / gateway / mod_ils_gateway.c
index 0fa3ba9..1f5f8bd 100644 (file)
@@ -182,6 +182,7 @@ static int mod_ils_gateway_method_handler (request_rec *r) {
                ap_rputs(content,r);
                free(content);
        } 
+       jsonObjectFree(response);
 
        osrf_app_session_request_finish( session, req_id );
        osrfLogDebug("gateway processed message successfully");