mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
[rt30024] This is a commit message
Fix a pair of memory leaks.
This commit is contained in:
@@ -2403,6 +2403,8 @@ prepare_option_buffer(struct universe *universe, struct buffer *bp,
|
||||
|
||||
/* And let go of our references. */
|
||||
cleanup:
|
||||
if (lbp != NULL)
|
||||
buffer_dereference(&lbp, MDL);
|
||||
option_dereference(&option, MDL);
|
||||
|
||||
return status;
|
||||
|
Reference in New Issue
Block a user