1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

Minor cleanups

This commit is contained in:
Teodor Sigaev
2006-04-03 08:37:41 +00:00
parent 7f129956e1
commit cdfecf6e3e
2 changed files with 8 additions and 4 deletions

View File

@ -47,8 +47,10 @@ g_int_consistent(PG_FUNCTION_ARGS)
/* sort query for fast search, key is already sorted */
CHECKARRVALID(query);
if (ARRISVOID(query))
if (ARRISVOID(query)) {
pfree( query );
PG_RETURN_BOOL(false);
}
PREPAREARR(query);
switch (strategy)