]> rtime.felk.cvut.cz Git - orte.git/commit
JORTE: document hack that 'bypasses' erratic bug in liborte
authorMartin Vajnar <martin.vajnar@gmail.com>
Sat, 2 May 2015 13:24:55 +0000 (15:24 +0200)
committerMartin Vajnar <martin.vajnar@gmail.com>
Fri, 22 May 2015 11:33:21 +0000 (13:33 +0200)
commit2f158b0f7b58b93ecb835e9527fc6f55e55aa41e
treed495252a89fcd98cc5368c4c24cb3c8babb31b6f
parent8a9254f92ea7fc88d21328a9e27f50800f9161d5
JORTE: document hack that 'bypasses' erratic bug in liborte

The recvCallBack() could sometimes be invoked even after subscription's
destruction. In order to avoid dereferencing pointer to free()'d memory we
use this 'intermediary' pointer and during subscription destruction we
set it to null and test this value in recvCallBack().
orte/libjorte/JORTESubscriptionCreate.c
orte/libjorte/JORTESubscriptionDestroy.c