Bug fix. In some circumstances (unrecognized status code
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 9 Jan 2009 23:04:55 +0000 (23:04 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 9 Jan 2009 23:04:55 +0000 (23:04 +0000)
from server) we were trying to free the same osrfMessage twice.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1615 9efc2488-bf62-4759-914b-345cdb29e865

src/libopensrf/osrf_stack.c

index 9ec1a25..61f0711 100644 (file)
@@ -178,7 +178,6 @@ static void _do_client( osrfAppSession* session, osrfMessage* msg ) {
                                                msg->status_code, msg->status_name );
                                further_msg->is_exception = 1;
                                osrf_app_session_set_complete( session, msg->thread_trace );
-                               osrfMessageFree(msg);
                                break;
                }