On Wed, 26.10.11 09:38, Thomas Jarosch ([email protected]) wrote:
> Detected by cppcheck. Thanks! Applied! > > Signed-off-by: Thomas Jarosch <[email protected]> > --- > src/condition.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/src/condition.c b/src/condition.c > index f18c454..2b51a16 100644 > --- a/src/condition.c > +++ b/src/condition.c > @@ -187,6 +187,8 @@ static bool test_capability(const char *parameter) { > } > } > > + fclose(f); > + > return !!(capabilities & (1ULL << value)); > } > Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
