X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcgtop%2Fcgtop.c;h=fd0023b0a84ef7f57c7bb5d81a8040422627b91c;hb=02dd6e189a6d2b7f3884ad4cdb3d8c85e009c565;hp=c56f7a861f51a48fca5c53eaf68454aa6f34f69b;hpb=43a99a7afe3063eebc901452026b13360b69a7b5;p=elogind.git diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index c56f7a861..fd0023b0a 100644 --- a/src/cgtop/cgtop.c +++ b/src/cgtop/cgtop.c @@ -98,7 +98,7 @@ static void group_hashmap_free(Hashmap *h) { static int process(const char *controller, const char *path, Hashmap *a, Hashmap *b, unsigned iteration) { Group *g; int r; - FILE *f; + FILE *f = NULL; pid_t pid; unsigned n;