diff --git a/libselinux-rhat.patch b/libselinux-rhat.patch index e576a98..0b48dbb 100644 --- a/libselinux-rhat.patch +++ b/libselinux-rhat.patch @@ -265,7 +265,7 @@ diff --exclude-from=exclude -N -u -r nsalibselinux/src/label_file.c libselinux-2 "%s: line %d is missing fields, skipping\n", path, lineno); + if (items == 1) -+ freee(regex); ++ free(regex); return 0; } else if (items == 2) { /* The type field is optional. */