We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d35dc34 commit 10b374aCopy full SHA for 10b374a
src/backend/utils/mb/mbutils.c
@@ -3,7 +3,7 @@
3
* client encoding and server internal encoding.
4
* (currently mule internal code (mic) is used)
5
* Tatsuo Ishii
6
- * $Id: mbutils.c,v 1.31 2002/08/14 05:33:34 ishii Exp $
+ * $Id: mbutils.c,v 1.32 2002/08/19 04:08:08 ishii Exp $
7
*/
8
#include "postgres.h"
9
#include "access/xact.h"
@@ -211,7 +211,7 @@ pg_convert(PG_FUNCTION_ARGS)
211
pg_convert2, string, src_encoding_name, dest_encoding_name);
212
213
/* free memory allocated by namein */
214
- pfree((void *)dest_encoding_name);
+ pfree((void *)src_encoding_name);
215
216
PG_RETURN_TEXT_P(result);
217
}
0 commit comments