]> git.ipfire.org Git - thirdparty/asterisk.git/commit
core: Fix ABI mismatch of ao2_global_obj.
authorCorey Farrell <git@cfware.com>
Tue, 24 Sep 2019 16:24:15 +0000 (12:24 -0400)
committerCorey Farrell <git@cfware.com>
Tue, 24 Sep 2019 16:24:15 +0000 (12:24 -0400)
commitc881d363190c1994e3f4ba5bb75f45444baf00ed
tree79c9f004fab31e1e9d22cba60608110b4c837b67
parent6320b86d894ae708b7b0ef703863e6f81522c0c3
core: Fix ABI mismatch of ao2_global_obj.

astobj2.c declares DEBUG_THREADS_LOOSE_ABI to avoid overhead of debug
threads tracking information in the internal structures of astobj2.
Unfortunately this means that ao2_global_obj contains the statically
allocated debug threads tracking fields which are used by initialization
and cleanup but main/astobj2.c believed those fields and associated
space did not exist.

Change-Id: Icef41ad97d88a8c1d1515e034ec8133cab3b1527
main/astobj2.c
main/astobj2_global.c [new file with mode: 0644]