freeing json response object
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Nov 2005 20:08:55 +0000 (20:08 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Nov 2005 20:08:55 +0000 (20:08 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@591 9efc2488-bf62-4759-914b-345cdb29e865

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");