Close a substantial resource leak in drone processes.
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 15 Jan 2010 04:52:00 +0000 (04:52 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 15 Jan 2010 04:52:00 +0000 (04:52 +0000)
commit779e7c48a1e7fdb51cf2d67ac1cd5fd3ca50b5f1
tree1af3080b06fb1cebb5696f9f64d108a60dd34c73
parent989bf52e7ed28d65ff30c839829e2947a968ce79
Close a substantial resource leak in drone processes.

A drone inherits the transport_client of its parent process,
including a socket and a substantial amount of memory.  The
old code avoided freeing the transport_client in order to
avoid disconnecting the parent from Jabber.

The new code contrives to reclaim the resources without
sending a disconnect to Jabber.  Hence the parent remains
connected.

M    include/opensrf/transport_client.h
M    include/opensrf/transport_session.h
M    src/libopensrf/osrf_system.c
M    src/libopensrf/transport_session.c
M    src/libopensrf/transport_client.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1890 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/transport_client.h
include/opensrf/transport_session.h
src/libopensrf/osrf_system.c
src/libopensrf/transport_client.c
src/libopensrf/transport_session.c