Commit 8c26bc53 authored by Bruce Momjian's avatar Bruce Momjian

The attached patch fixes a tiny memory leak in psql, when using

the 'expanded' output mode (\x).

Neil Conway
parent 2c48b3db
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Copyright 2000 by PostgreSQL Global Development Group * Copyright 2000 by PostgreSQL Global Development Group
* *
* $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.27 2002/07/15 01:56:25 momjian Exp $ * $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.28 2002/07/18 04:46:24 momjian Exp $
*/ */
#include "postgres_fe.h" #include "postgres_fe.h"
#include "print.h" #include "print.h"
...@@ -612,6 +612,7 @@ print_aligned_vertical(const char *title, const char *const * headers, ...@@ -612,6 +612,7 @@ print_aligned_vertical(const char *title, const char *const * headers,
#ifdef MULTIBYTE #ifdef MULTIBYTE
free(cell_w); free(cell_w);
free(head_w);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment