about summary refs log tree commit diff stats
path: root/tests/unittests/test_jid.h
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2020-04-05 15:58:28 +0300
committerDmitry Podgorny <pasis.ua@gmail.com>2020-04-05 15:58:28 +0300
commitded48a7e40644050a99d36375b569f581b60bb7f (patch)
treea61b1261b4a03eda24e884eaadcf127f12355eaf /tests/unittests/test_jid.h
parentdc5ddb8ebe5792a220803c4e0ba9a071177d4537 (diff)
downloadprofani-tty-ded48a7e40644050a99d36375b569f581b60bb7f.tar.gz
Fix memory leak in stanza_attach_correction()
xmpp_stanza_add_child() takes own reference to the child stanza.
Therefore we have to release our reference or the child is lost
and not freed otherwise.
Diffstat (limited to 'tests/unittests/test_jid.h')
0 files changed, 0 insertions, 0 deletions
14' href='#n114'>114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150