fix: close(fd) was missing from smack_rule_set_apply().
authorJarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Thu, 3 Nov 2011 17:25:51 +0000 (19:25 +0200)
committerJarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Thu, 3 Nov 2011 17:25:51 +0000 (19:25 +0200)
src/smack.c

index 3c646a7..8198de9 100644 (file)
@@ -203,6 +203,7 @@ int smack_rule_set_apply(SmackRuleSet handle, int flags)
                }
        }
 
+       close(fd);
        return 0;
 }