-/* 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
* 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
fclose(fp);
}
+ /* Allocated by lttng_ust_list_apps() */
+ free(pids);
+
return 0;
error: