summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/irm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/irm.c b/src/lib/irm.c
index 68202ad9..9ee9e9e0 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -189,9 +189,8 @@ ssize_t irm_list_ipcps(const char * name,
return -ENOMEM;
}
- for (i = 0; i < nr; i++) {
+ for (i = 0; i < nr; i++)
(*apis)[i] = recv_msg->apis[i];
- }
irm_msg__free_unpacked(recv_msg, NULL);