]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - rdma/rdma.c
rdma: Rename rd_free_devmap to be rd_free
[mirror_iproute2.git] / rdma / rdma.c
index a05a2fb68a43c357262b352171bf89a21001e101..0e8fd688674ce8e3622af6546d8b1286ec878346 100644 (file)
@@ -74,8 +74,7 @@ static void rd_cleanup(struct rd *rd)
 {
        if (rd->json_output)
                jsonw_destroy(&rd->jw);
-       free(rd->buff);
-       rd_free_devmap(rd);
+       rd_free(rd);
 }
 
 int main(int argc, char **argv)