Skip to content

Commit

Permalink
Metalink Plugin: Must not destroy the Transform Contp, only shutdown …
Browse files Browse the repository at this point in the history
…write on it while received WRITE_COMPLETE
  • Loading branch information
oknet committed Mar 6, 2017
1 parent 1e3f6a3 commit 38cd480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/experimental/metalink/metalink.cc
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ static int
transform_vconn_write_complete(TSCont contp, void * /* edata ATS_UNUSED */)
{
TransformData *data = (TransformData *)TSContDataGet(contp);
TSContDestroy(contp);
TSVConnShutdown(TSTransformOutputVConnGet(contp), 0, 1);

TSIOBufferDestroy(data->output_bufp);
TSfree(data);
Expand Down

0 comments on commit 38cd480

Please sign in to comment.