mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
libbegemot: Disable -Wuse-after-free.
The _xrealloc() function prints pointer values for internal assertion failures and in one case does so after it has freed the pointer. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D36819
This commit is contained in:
parent
e67b246734
commit
996ee96597
|
@ -25,3 +25,5 @@ MLINKS= rpoll.3 poll_register.3 \
|
|||
rpoll.3 poll_dispatch.3
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
CWARNFLAGS+= ${NO_WUSE_AFTER_FREE}
|
||||
|
|
Loading…
Reference in a new issue