summaryrefslogtreecommitdiffstats
path: root/solaris/SolarisProcessList.h
diff options
context:
space:
mode:
authorGuy M. Broome <thrirhrafnir@gmail.com>2018-03-30 14:34:12 -0400
committerHisham Muhammad <hisham@gobolinux.org>2018-04-05 19:38:13 -0300
commitda4877f48c70f765f8bfb60c7668e8499055662e (patch)
treebb8e34aec8a5058793c48bc4a030d8a01ceca692 /solaris/SolarisProcessList.h
parent0969f83b218e29dcb2a5f7998d0f8c751639f7fe (diff)
Solaris: fix a memory leak caused by calling ProcessList_getProcess twice for each LWP
Diffstat (limited to 'solaris/SolarisProcessList.h')
-rw-r--r--solaris/SolarisProcessList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/solaris/SolarisProcessList.h b/solaris/SolarisProcessList.h
index 8bebd897..a5f2fbc2 100644
--- a/solaris/SolarisProcessList.h
+++ b/solaris/SolarisProcessList.h
@@ -48,7 +48,7 @@ char* SolarisProcessList_readZoneName(kstat_ctl_t* kd, SolarisProcess* sproc);
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId);
-void ProcessList_delete(ProcessList* this);
+void ProcessList_delete(ProcessList* pl);
/* NOTE: the following is a callback function of type proc_walk_f
* and MUST conform to the appropriate definition in order

© 2014-2024 Faster IT GmbH | imprint | privacy policy