diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-12-05 00:31:35 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-12-05 00:31:35 +0000 |
commit | f0b58b190107416e813c5db875034c6cfcede523 (patch) | |
tree | e7bf020c21687049cae65ef0f90916b43414b173 /lib/libusbhid/usage.c | |
parent | 8dd8d56d95763ffc914bb729eb27d720cd8ab5eb (diff) | |
download | src-f0b58b190107416e813c5db875034c6cfcede523.tar.gz src-f0b58b190107416e813c5db875034c6cfcede523.zip |
rpcgen: Don't free() a pointer after realloc().
A successful realloc() already frees the old pointer.
Reported by: GCC -Wuse-after-free
Reviewed by: brooks, imp, emaste
Differential Revision: https://reviews.freebsd.org/D37540
Diffstat (limited to 'lib/libusbhid/usage.c')
0 files changed, 0 insertions, 0 deletions