[ostree] build: Fix build without SELinux



commit 071916196cd76eb7be4085bd8cd36e66865345fa
Author: Colin Walters <walters verbum org>
Date:   Thu Feb 20 10:12:53 2014 -0500

    build: Fix build without SELinux

 src/libostree/ostree-sepolicy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-sepolicy.c b/src/libostree/ostree-sepolicy.c
index 8a0457a..e5027f3 100644
--- a/src/libostree/ostree-sepolicy.c
+++ b/src/libostree/ostree-sepolicy.c
@@ -73,9 +73,9 @@ ostree_sepolicy_finalize (GObject *object)
   OstreeSePolicy *self = OSTREE_SEPOLICY (object);
 
   g_clear_object (&self->path);
+#ifdef HAVE_SELINUX
   g_clear_object (&self->selinux_policy_root);
   g_clear_pointer (&self->selinux_policy_name, g_free);
-#ifdef HAVE_SELINUX
   if (self->selinux_hnd)
     {
       selabel_close (self->selinux_hnd);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]