In general, we want to return KEEP_STREAM to command_request_claim and delete the stream to the schedd agent ourself (unless there was an error in the protocol somewhere such that we have to abort). Specifically, accept_request_claim now deletes the stream itself in all cases (since it doesn't know if it is being called directly from request_claim or if it was called after a preemption has completed) and returns KEEP_STREAM if all went well.  This avoids both memory leaks (when we weren't careful to delete the stream when we need to) and seg faults of two people trying to delete the same object.
In general, we want to return KEEP_STREAM to command_request_claim and
delete the stream to the schedd agent ourself (unless there was an
error in the protocol somewhere such that we have to abort).
Specifically, accept_request_claim now deletes the stream itself in
all cases (since it doesn't know if it is being called directly from
request_claim or if it was called after a preemption has completed)
and returns KEEP_STREAM if all went well.  This avoids both memory
leaks (when we weren't careful to delete the stream when we need to)
and seg faults of two people trying to delete the same object.

mambelli/osg-bosco-marco,neurodebian/htcondor,djw8605/htcondor,clalancette/condor-dcloud,bbockelm/condor-network-accounting,htcondor/htcondor,djw8605/condor,zhangzhehust/htcondor,djw8605/condor,bbockelm/condor-network-accounting,mambelli/osg-bosco-marco,neurodebian/htcondor,neurodebian/htcondor,djw8605/htcondor,neurodebian/htcondor,neurodebian/htcondor,mambelli/osg-bosco-marco,htcondor/htcondor,clalancette/condor-dcloud,zhangzhehust/htcondor,clalancette/condor-dcloud,djw8605/htcondor,djw8605/htcondor,clalancette/condor-dcloud,htcondor/htcondor,clalancette/condor-dcloud,bbockelm/condor-network-accounting,clalancette/condor-dcloud,djw8605/condor,mambelli/osg-bosco-marco,djw8605/condor,zhangzhehust/htcondor,mambelli/osg-bosco-marco,htcondor/htcondor,bbockelm/condor-network-accounting,mambelli/osg-bosco-marco,neurodebian/htcondor,zhangzhehust/htcondor,djw8605/htcondor,djw8605/condor,bbockelm/condor-network-accounting,neurodebian/htcondor,zhangzhehust/htcondor,neurodebian/htcondor,djw8605/htcondor,djw8605/htcondor,neurodebian/htcondor,djw8605/condor,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,mambelli/osg-bosco-marco,zhangzhehust/htcondor,djw8605/htcondor,zhangzhehust/htcondor,bbockelm/condor-network-accounting,htcondor/htcondor,htcondor/htcondor,djw8605/htcondor,htcondor/htcondor,zhangzhehust/htcondor,zhangzhehust/htcondor,mambelli/osg-bosco-marco,djw8605/condor,clalancette/condor-dcloud,htcondor/htcondor,djw8605/condor