Skip to content

Commit 8dbac42

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 4eb726b commit 8dbac42

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
@@ -2615,6 +2615,7 @@ dpctl_ct_ipf_get_status(int argc, const char *argv[],
26152615
} else {
26162616
dpctl_error(dpctl_p, error,
26172617
"ipf status could not be retrieved");
2618+
dpif_close(dpif);
26182619
return error;
26192620
}
26202621

0 commit comments

Comments
 (0)