diff options
| author | Bruce Momjian <bruce@momjian.us> | 2003-03-25 02:44:36 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2003-03-25 02:44:36 +0000 |
| commit | f1792b932c574eada6527a87e2489364f700fca4 (patch) | |
| tree | 7e7d1f2ff809c2b0542110e68e5cbf5d88715310 /src/test/examples/testlibpq2.c | |
| parent | 6a19c6dccfee66df3970dfba15a8590fdd399bc1 (diff) | |
Use PQfreemem() consistently, and document its use for Notify.
Keep PQfreeNotify() around for binary compatibility.
Diffstat (limited to 'src/test/examples/testlibpq2.c')
| -rw-r--r-- | src/test/examples/testlibpq2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/examples/testlibpq2.c b/src/test/examples/testlibpq2.c index 059e39102e2..8f5a1ec3abb 100644 --- a/src/test/examples/testlibpq2.c +++ b/src/test/examples/testlibpq2.c @@ -98,7 +98,7 @@ main() fprintf(stderr, "ASYNC NOTIFY of '%s' from backend pid '%d' received\n", notify->relname, notify->be_pid); - free(notify); + PQfreemem(notify); break; } PQclear(res); |
