Fix: various memleaks
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 8b09fc922ee48d166062439833d4f8cc9a7a6306..0c4d4b1f9b544f3916caaec859cd6c2cff06a27b 100644 (file)
@@ -3798,7 +3798,7 @@ static void *thread_manage_clients(void *data)
                                PERROR("close");
                        }
                        sock = -1;
-                       free(cmd_ctx);
+                       clean_command_ctx(&cmd_ctx);
                        continue;
                }
 
This page took 0.02509 seconds and 5 git commands to generate.