From 2f2316f4965efa0add825a8716bb947f5146c383 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Apr 03 2009 14:05:22 +0000 Subject: - Fix Memory Leak --- 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. */