diff options
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/UnsupportedProcessList.c | 5 | ||||
-rw-r--r-- | unsupported/UnsupportedProcessList.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c index 6fdca53f..fca9a760 100644 --- a/unsupported/UnsupportedProcessList.c +++ b/unsupported/UnsupportedProcessList.c @@ -26,6 +26,11 @@ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList) { return this; } +void ProcessList_delete(ProcessList* this) { + ProcessList_done(this); + free(this); +} + void ProcessList_scan(ProcessList* this) { (void) this; // stub! diff --git a/unsupported/UnsupportedProcessList.h b/unsupported/UnsupportedProcessList.h index d95c8e5c..ac9d99fe 100644 --- a/unsupported/UnsupportedProcessList.h +++ b/unsupported/UnsupportedProcessList.h @@ -13,6 +13,8 @@ in the source distribution for its full text. ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList); +void ProcessList_delete(ProcessList* this); + void ProcessList_scan(ProcessList* this); #endif |