Change client message processing
[lttng-tools.git] / lttng / lttng.c
index 188b13dd65ae974aff8c6c528b4c0e86bf3bde66..6cc540922a77b78ebd29c505255bfa54ad65996b 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c)  2011 David Goulet <david.goulet@polymtl.ca>
+/*
+ * Copyright (c)  2011 David Goulet <david.goulet@polymtl.ca>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -13,7 +14,6 @@
  * You should have received a copy of the GNU General Public License along
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
  */
 
 #define _GNU_SOURCE
@@ -105,6 +105,9 @@ static int process_opt_list_apps(void)
                fclose(fp);
        }
 
+       /* Allocated by lttng_ust_list_apps() */
+       free(pids);
+
        return 0;
 
 error:
This page took 0.023338 seconds and 4 git commands to generate.