Skip to content

Commit c052c46

Browse files
Sashhkaaigsilya
authored andcommitted
dpctl: Fix memory leak in ipf-get-status command.
Fixes: 4ea9669 ("Userspace datapath: Add fragmentation handling.") Signed-off-by: Alexandra Rukomoinikova <arukomoinikova@k2.cloud> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
1 parent f86caea commit c052c46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/dpctl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2641,6 +2641,7 @@ dpctl_ct_ipf_get_status(int argc, const char *argv[],
26412641
} else {
26422642
dpctl_error(dpctl_p, error,
26432643
"ipf status could not be retrieved");
2644+
dpif_close(dpif);
26442645
return error;
26452646
}
26462647

0 commit comments

Comments
 (0)