diff options
author | Michael Meskes <meskes@postgresql.org> | 2021-03-24 22:06:31 +0100 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2021-03-24 22:06:31 +0100 |
commit | 65c2ec6f30d9c0878a9ef83e0ec9a53e6b82d9d8 (patch) | |
tree | 5c1a58ea9b280dc526b1ca57a657742c9c26315d /src/interfaces/ecpg/preproc | |
parent | ad8305a43d1890768a613d3fb586b44f17360f29 (diff) | |
download | postgresql-65c2ec6f30d9c0878a9ef83e0ec9a53e6b82d9d8.tar.gz |
Need to step forward in the loop to get to an end.
Diffstat (limited to 'src/interfaces/ecpg/preproc')
-rw-r--r-- | src/interfaces/ecpg/preproc/ecpg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c index 3c6506017d..ee2fa51588 100644 --- a/src/interfaces/ecpg/preproc/ecpg.c +++ b/src/interfaces/ecpg/preproc/ecpg.c @@ -379,6 +379,7 @@ main(int argc, char *const argv[]) for (list = g_declared_list; list != NULL;) { struct declared_list *this = list; + list = list->next; free(this); } |