]> git.ipfire.org Git - thirdparty/dhcp.git/commit
[#253] Fix reference count leak in add_option
authorThomas Markwalder <tmark@isc.org>
Thu, 4 Aug 2022 17:35:17 +0000 (13:35 -0400)
committerTomek Mrugalski <tomek@isc.org>
Tue, 1 Nov 2022 15:42:56 +0000 (15:42 +0000)
commit97074fadd19e32a6703334e00bed95871724e74f
tree900c9029fcb4f1f0431668007717adb21d6efd63
parent8ec141a460e9c5b5c60d3afc246fe604027ca526
[#253] Fix reference count leak in add_option

RELNOTES
    Added release note

common/options.c
    add_option() - always dereference the looked up option

common/tests/option_unittest.c
    Added new unit test: ATF_TC_BODY(add_option_ref_cnt, tc)
RELNOTES
common/options.c
common/tests/option_unittest.c