[patch] pjsip/sip_transport.c: fixed tx_data_destroy called more than once

AG
Alexei Gradinari
Tue, Jul 19, 2016 8:02 PM

Hello,

This patch fixed the issue when tx_data_destroy can be called more than once.
The tx_data_destroy has to be called only once when ref_cnt is zero.

Regards,
Alexei

Hello, This patch fixed the issue when tx_data_destroy can be called more than once. The tx_data_destroy has to be called only once when ref_cnt is zero. Regards, Alexei
AG
Alexei Gradinari
Tue, Jul 19, 2016 8:09 PM

Hello Alexei,

This patch fixed the issue when tx_data_destroy can be called more than once.
The tx_data_destroy has to be called only once when ref_cnt is zero.

Attached correct patch.

Regards,
Alexei

Hello Alexei, > This patch fixed the issue when tx_data_destroy can be called more than once. > The tx_data_destroy has to be called only once when ref_cnt is zero. Attached correct patch. Regards, Alexei
AG
Alexei Gradinari
Tue, Jul 19, 2016 8:45 PM

Hello Alexei,

Tuesday, July 19, 2016, 4:09:36 PM, you wrote:

This patch fixed the issue when tx_data_destroy can be called more than once.
The tx_data_destroy has to be called only once when ref_cnt is zero.

Attached correct patch.

The 2nd version of this patch also fixed Segmentation fault in pj_atomic_dec_and_get.

Regards,
Alexei

Hello Alexei, Tuesday, July 19, 2016, 4:09:36 PM, you wrote: >> This patch fixed the issue when tx_data_destroy can be called more than once. >> The tx_data_destroy has to be called only once when ref_cnt is zero. > Attached correct patch. The 2nd version of this patch also fixed Segmentation fault in pj_atomic_dec_and_get. Regards, Alexei