mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-26 04:08:04 +00:00
6bd4bc814f
Adding an assertion to qobject_decref() will ensure that a programming error causing use-after-free will result in immediate failure (provided no other thread has started using the memory) instead of silently attempting to wrap refcnt around and leaving the problem to potentially bite later at a harder point to diagnose. Backports commit cc9f60d4a2a4bf2578a9309a18f1c4602c9f5ce7 from qemu |
||
---|---|---|
.. | ||
qbool.h | ||
qdict.h | ||
qerror.h | ||
qfloat.h | ||
qint.h | ||
qjson.h | ||
qlist.h | ||
qobject.h | ||
qstring.h | ||
types.h |