diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 2b0a5ff..57a6ccb 100644
*** a/src/bin/pg_dump/pg_dump.c
--- b/src/bin/pg_dump/pg_dump.c
*************** dumpBlobs(Archive *fout, void *arg)
*** 2372,2379 ****
  		PQclear(res);
  	} while (ntups > 0);
  
- 	PQclear(res);
- 
  	return 1;
  }
  
--- 2372,2377 ----
