cc9f60d4a2
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. Suggested-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1446791754-23823-4-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> |
||
---|---|---|
.. | ||
dispatch.h | ||
json-lexer.h | ||
json-parser.h | ||
json-streamer.h | ||
qbool.h | ||
qdict.h | ||
qerror.h | ||
qfloat.h | ||
qint.h | ||
qjson.h | ||
qlist.h | ||
qobject.h | ||
qstring.h | ||
types.h |