diff options
author | 2022-01-18 14:25:55 -0500 | |
---|---|---|
committer | 2022-01-18 14:25:55 -0500 | |
commit | e80fd42e69bbb408f8e1eb737eeeb3b860b7fc52 (patch) | |
tree | 709708cf976ef268e90158b94057340caa5226ee /src | |
parent | nettrace fixes (diff) | |
download | firejail-e80fd42e69bbb408f8e1eb737eeeb3b860b7fc52.tar.gz firejail-e80fd42e69bbb408f8e1eb737eeeb3b860b7fc52.tar.zst firejail-e80fd42e69bbb408f8e1eb737eeeb3b860b7fc52.zip |
compile fix
Diffstat (limited to 'src')
-rw-r--r-- | src/fnettrace/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fnettrace/main.c b/src/fnettrace/main.c index 331311ee8..dd5fb8c48 100644 --- a/src/fnettrace/main.c +++ b/src/fnettrace/main.c | |||
@@ -49,7 +49,6 @@ HNode *dlist = NULL; | |||
49 | // speed up malloc/free | 49 | // speed up malloc/free |
50 | #define HNODE_MAX_MALLOC 16 | 50 | #define HNODE_MAX_MALLOC 16 |
51 | static HNode *hnode_unused = NULL; | 51 | static HNode *hnode_unused = NULL; |
52 | static int hnode_malloc_cnt = 0; | ||
53 | HNode *hmalloc(void) { | 52 | HNode *hmalloc(void) { |
54 | if (hnode_unused == NULL) { | 53 | if (hnode_unused == NULL) { |
55 | hnode_unused = malloc(sizeof(HNode) * HNODE_MAX_MALLOC); | 54 | hnode_unused = malloc(sizeof(HNode) * HNODE_MAX_MALLOC); |