[webkit-changes] [WebKit/WebKit] 3e2573: TRASHIT() macro should set pointer to NULL in usrs...
EWS
noreply at github.com
Fri Nov 11 10:04:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3e2573a5dc14e8715252730b23472089e244fc61
https://github.com/WebKit/WebKit/commit/3e2573a5dc14e8715252730b23472089e244fc61
Author: David Kilzer <ddkilzer at apple.com>
Date: 2022-11-11 (Fri, 11 Nov 2022)
Changed paths:
M Source/ThirdParty/libwebrtc/Source/third_party/usrsctp/usrsctplib/usrsctplib/user_queue.h
Log Message:
-----------
TRASHIT() macro should set pointer to NULL in usrsctp/usrsctplib/usrsctplib/user_queue.h
https://bugs.webkit.org/show_bug.cgi?id=247637
<rdar://102107818>
Reviewed by Eric Carlson.
* Source/ThirdParty/libwebrtc/Source/third_party/usrsctp/usrsctplib/usrsctplib/user_queue.h:
(QMD_SAVELINK): Delete.
- Remove this macro since it's not needed.
(TRASHIT):
- Set pointer(s) to NULL when removing an object from a linked
list.
(SLIST_REMOVE):
- Remove use of QMD_SAVELINK().
- Move TRASHIT() macros into SLIST_REMOVE_HEAD() and
SLIST_REMOVE_AFTER().
(SLIST_REMOVE_AFTER):
(SLIST_REMOVE_HEAD):
- Add TRASHIT() macros for direct macro calls.
(STAILQ_REMOVE):
- Remove use of QMD_SAVELINK().
- Move TRASHIT() macros into STAILQ_REMOVE_HEAD() and
STAILQ_REMOVE_AFTER().
(STAILQ_REMOVE_AFTER):
(STAILQ_REMOVE_HEAD):
- Add TRASHIT() macros for direct macro calls.
(LIST_REMOVE):
(TAILQ_REMOVE):
- Remove use of QMD_SAVELINK().
Canonical link: https://commits.webkit.org/256574@main
More information about the webkit-changes
mailing list