VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / security / selinux / ss / conditional.c
index 6888546..f8958ba 100644 (file)
@@ -217,7 +217,7 @@ int bool_isvalid(struct cond_bool_datum *b)
 
 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp)
 {
-       char *key = 0;
+       char *key = NULL;
        struct cond_bool_datum *booldatum;
        __u32 *buf, len;
 
@@ -251,7 +251,7 @@ int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp)
 
        return 0;
 err:
-       cond_destroy_bool(key, booldatum, 0);
+       cond_destroy_bool(key, booldatum, NULL);
        return -1;
 }