diff options
author | Guy M. Broome <thrirhrafnir@gmail.com> | 2018-03-05 16:27:27 -0500 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-03-16 11:43:48 -0300 |
commit | cefbe499db1a418bc41459cd04fb2965450677d8 (patch) | |
tree | 3afeab0a63053f968fa6741d3bafb1f680b6093e /solaris/SolarisProcess.c | |
parent | 76ef3682dbdbb572ebf997dd43c3f96daf30bd14 (diff) |
Solaris: fix malloc() / free() issues with zone name handling
Diffstat (limited to 'solaris/SolarisProcess.c')
-rw-r--r-- | solaris/SolarisProcess.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/solaris/SolarisProcess.c b/solaris/SolarisProcess.c index b935a814..a9aff4cb 100644 --- a/solaris/SolarisProcess.c +++ b/solaris/SolarisProcess.c @@ -34,10 +34,10 @@ typedef enum SolarisProcessFields { typedef struct SolarisProcess_ { - Process super; - int kernel; + Process super; + int kernel; zoneid_t zoneid; - char zname[ZONENAME_MAX+1]; + char* zname; taskid_t taskid; projid_t projid; poolid_t poolid; |