]> git.ipfire.org Git - thirdparty/asterisk.git/commit
core: Fix ABI mismatch of ao2_global_obj.
authorCorey Farrell <git@cfware.com>
Mon, 23 Sep 2019 02:04:44 +0000 (22:04 -0400)
committerCorey Farrell <git@cfware.com>
Tue, 24 Sep 2019 16:20:12 +0000 (11:20 -0500)
commit5bedd4a9b45bb2d7ded09ad6d0b3561e2d091711
tree0a1951e72a24c4d3d28b0ec9cdffe11b168371d5
parentd95a76edd3c1615027c361fbce5b34bca20b08d8
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]