build: Fix build without SELinux

This commit is contained in:
Colin Walters 2014-02-20 10:12:53 -05:00
parent 3337334be5
commit 071916196c
1 changed files with 1 additions and 1 deletions

View File

@ -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);