diff options
| author | Teodor Sigaev | 2006-04-03 08:37:41 +0000 |
|---|---|---|
| committer | Teodor Sigaev | 2006-04-03 08:37:41 +0000 |
| commit | f6c5cbd0d58047513f3781bedd035b92db2a6610 (patch) | |
| tree | 0b76c065ed7239a74b3f57dc1e3037c8862014ef /contrib/intarray/_intbig_gist.c | |
| parent | 67941b960ff26fad03afd5227025dcf89a0b895c (diff) | |
Minor cleanups
Diffstat (limited to 'contrib/intarray/_intbig_gist.c')
| -rw-r--r-- | contrib/intarray/_intbig_gist.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/intarray/_intbig_gist.c b/contrib/intarray/_intbig_gist.c index caa0ad48c6..ecd949d87a 100644 --- a/contrib/intarray/_intbig_gist.c +++ b/contrib/intarray/_intbig_gist.c @@ -510,12 +510,14 @@ g_intbig_consistent(PG_FUNCTION_ARGS) GETSIGN(DatumGetPointer(entry->key)), false); PG_FREE_IF_COPY( query, 1 ); - return retval; + PG_RETURN_BOOL(retval); } CHECKARRVALID(query); - if (ARRISVOID(query)) - return FALSE; + if (ARRISVOID(query)) { + PG_FREE_IF_COPY( query, 1 ); + PG_RETURN_BOOL(FALSE); + } switch (strategy) { |
