use function pointer to free value
This commit is contained in:
1 parent
72b3a4c55b
commit
6852882203
2 files changed
+3
-1
No files matched your search
@@ -80,6 +80,7 @@ struct sigar_cache_entry_t {
|
||||
typedef struct {
|
||||
sigar_cache_entry_t **entries;
|
||||
unsigned int count, size;
|
||||
void (*free_value)(void *ptr);
|
||||
} sigar_cache_t;
|
||||
|
||||
#endif /* SIGAR_UTIL_H */
|
||||
Reference in new issue
Block a user