From: Peter Eisentraut Date: Mon, 3 Mar 2014 19:05:33 +0000 (-0500) Subject: Fix whitespace X-Git-Tag: REL9_4_BETA1~398 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de94b47c0a92faeddab5ac980449d3fa877b4a4f;p=postgresql Fix whitespace --- diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index e5229c0b78..5c79d101c9 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -383,7 +383,7 @@ free_readfile(char **optlines) while (optlines[i++]) free(optlines[i]); - + free(optlines); return; diff --git a/src/interfaces/ecpg/preproc/variable.c b/src/interfaces/ecpg/preproc/variable.c index d762286b94..50ddeab2e8 100644 --- a/src/interfaces/ecpg/preproc/variable.c +++ b/src/interfaces/ecpg/preproc/variable.c @@ -456,7 +456,7 @@ dump_variables(struct arguments * list, int mode) /* Then release the list element. */ if (mode != 0) free(list); - + free(str_zero); } diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c index 6f74108bd6..8ccf6d39ee 100644 --- a/src/interfaces/libpq/fe-exec.c +++ b/src/interfaces/libpq/fe-exec.c @@ -2760,7 +2760,7 @@ PQfnumber(const PGresult *res, const char *field_name) for (i = 0; i < res->numAttributes; i++) if (strcmp(field_name, res->attDescs[i].name) == 0) return i; - + /* Fall through to the normal check if that didn't work out. */ /* diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c index 438b95fe59..475a11a7f6 100644 --- a/src/test/regress/pg_regress.c +++ b/src/test/regress/pg_regress.c @@ -1159,7 +1159,7 @@ get_alternative_expectfile(const char *expectfile, int i) if (!(tmp = (char*) malloc(ssize))) return NULL; - + if (!(s = (char*) malloc(ssize))) { free(tmp);