diff options
Diffstat (limited to 'contrib/sepgsql/selinux.c')
-rw-r--r-- | contrib/sepgsql/selinux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/sepgsql/selinux.c b/contrib/sepgsql/selinux.c index 192aabea0b3..b7c489cc336 100644 --- a/contrib/sepgsql/selinux.c +++ b/contrib/sepgsql/selinux.c @@ -871,13 +871,11 @@ sepgsql_compute_create(const char *scontext, { result = pstrdup(ncontext); } - PG_CATCH(); + PG_FINALLY(); { freecon(ncontext); - PG_RE_THROW(); } PG_END_TRY(); - freecon(ncontext); return result; } |