Skip to content

Commit

Permalink
xdp-app-info: Fix leaking the GUnixFDList returned from dbus
Browse files Browse the repository at this point in the history
Signed-off-by: Hubert Figuière <[email protected]>
  • Loading branch information
hfiguiere authored and jadahl committed Oct 16, 2024
1 parent aadb875 commit 80f1f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xdp-app-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ xdp_connection_get_pidfd (GDBusConnection *connection,
g_autoptr(GVariant) process_id = NULL;
uint32_t pid;
int fd_index;
GUnixFDList *fd_list;
g_autoptr(GUnixFDList) fd_list = NULL;
int fds_len = 0;
const int *fds;
int pidfd;
Expand Down

0 comments on commit 80f1f0f

Please sign in to comment.