found the (i believe) the remaining leaks in the transport code
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Mar 2005 21:51:03 +0000 (21:51 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Mar 2005 21:51:03 +0000 (21:51 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@233 9efc2488-bf62-4759-914b-345cdb29e865

src/libstack/osrf_app_session.c
src/libstack/osrf_stack.c

index dde80fa..620d18c 100644 (file)
@@ -292,6 +292,7 @@ void _osrf_app_session_free( osrf_app_session* session ){
        
        free(session->remote_id);
        free(session->orig_remote_id);
+       free(session->session_id);
        free(session);
 }
 
index 419ce51..c18f5bb 100644 (file)
@@ -58,6 +58,8 @@ int osrf_stack_message_handler( osrf_app_session* session, osrf_message* msg ) {
 
        if(ret_msg)
                osrf_stack_application_handler( session, ret_msg );
+       else
+               osrf_message_free(msg);
 
        return 1;